summaryrefslogtreecommitdiffstats
path: root/system/libraries/Calendar.php
diff options
context:
space:
mode:
authorGreg Aker <greg.aker@ellislab.com>2010-11-10 22:26:43 +0100
committerGreg Aker <greg.aker@ellislab.com>2010-11-10 22:26:43 +0100
commita926328583e7ffdaaac7daf2f87810d842423f21 (patch)
tree7e4b62b3029de2a7273ab94d30148a60e496ada7 /system/libraries/Calendar.php
parent579fde36e4f8cc294edec4fd4eefe06f4df09dda (diff)
Changing all class constructors to __construct()
Diffstat (limited to 'system/libraries/Calendar.php')
-rw-r--r--system/libraries/Calendar.php4
1 files changed, 1 insertions, 3 deletions
diff --git a/system/libraries/Calendar.php b/system/libraries/Calendar.php
index 752ce254b..59025cf55 100644
--- a/system/libraries/Calendar.php
+++ b/system/libraries/Calendar.php
@@ -42,10 +42,8 @@ class CI_Calendar {
* Constructor
*
* Loads the calendar language file and sets the default time reference
- *
- * @access public
*/
- function CI_Calendar($config = array())
+ public function __construct($config = array())
{
$this->CI =& get_instance();