Changing all class constructors to __construct()
diff --git a/system/libraries/User_agent.php b/system/libraries/User_agent.php
index a780ec2..c1fb023 100644
--- a/system/libraries/User_agent.php
+++ b/system/libraries/User_agent.php
@@ -56,7 +56,7 @@
 	 * @access	public
 	 * @return	void
 	 */
-	function CI_User_agent()
+	public function __construct()
 	{
 		if (isset($_SERVER['HTTP_USER_AGENT']))
 		{