]> gitweb.fluxo.info Git - semanticscuttle.git/commitdiff
remove deprecate split()
authorChristian Weiske <cweiske@cweiske.de>
Thu, 30 Sep 2010 05:58:07 +0000 (07:58 +0200)
committerChristian Weiske <cweiske@cweiske.de>
Thu, 30 Sep 2010 05:58:07 +0000 (07:58 +0200)
src/SemanticScuttle/Service/User.php

index 6fc3bb70760d1b9cd987344bff75716174b6259c..d74d10473ced7692a01bab69ce03d25c4303dfc1 100644 (file)
@@ -359,7 +359,7 @@ class SemanticScuttle_Service_User extends SemanticScuttle_DbService
             return $_SESSION[$this->getSessionKey()];
 
         } else if (isset($_COOKIE[$this->getCookieKey()])) {
-            $cook = split(':', $_COOKIE[$this->getCookieKey()]);
+            $cook = explode(':', $_COOKIE[$this->getCookieKey()]);
             //cookie looks like this: 'id:md5(username+password)'
             $query = 'SELECT * FROM '. $this->getTableName() .
                      ' WHERE MD5(CONCAT('.$this->getFieldName('username') .