remove deprecate split()

This commit is contained in:
Christian Weiske 2010-09-30 07:58:07 +02:00
parent 2d31b55b24
commit 95c05e49a7

View 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') .