summaryrefslogtreecommitdiffstats
path: root/system/libraries/User_agent.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/User_agent.php
parent579fde36e4f8cc294edec4fd4eefe06f4df09dda (diff)
Changing all class constructors to __construct()
Diffstat (limited to 'system/libraries/User_agent.php')
-rw-r--r--system/libraries/User_agent.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/libraries/User_agent.php b/system/libraries/User_agent.php
index a780ec231..c1fb0231a 100644
--- a/system/libraries/User_agent.php
+++ b/system/libraries/User_agent.php
@@ -56,7 +56,7 @@ class CI_User_agent {
* @access public
* @return void
*/
- function CI_User_agent()
+ public function __construct()
{
if (isset($_SERVER['HTTP_USER_AGENT']))
{