diff options
author | Christian Weiske <cweiske@cweiske.de> | 2010-09-30 07:58:07 +0200 |
---|---|---|
committer | Christian Weiske <cweiske@cweiske.de> | 2010-09-30 07:58:07 +0200 |
commit | 95c05e49a70d007f41be60f90a7ae0ed7e5996a2 (patch) | |
tree | ca09bc8b4bfc61a4eb97d111720c5ae73720ea25 /src | |
parent | 2d31b55b24e79a2014171c89d96c7242e4c590ac (diff) | |
download | semanticscuttle-95c05e49a70d007f41be60f90a7ae0ed7e5996a2.tar.gz semanticscuttle-95c05e49a70d007f41be60f90a7ae0ed7e5996a2.tar.bz2 |
remove deprecate split()
Diffstat (limited to 'src')
-rw-r--r-- | src/SemanticScuttle/Service/User.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/SemanticScuttle/Service/User.php b/src/SemanticScuttle/Service/User.php index 6fc3bb7..d74d104 100644 --- a/src/SemanticScuttle/Service/User.php +++ b/src/SemanticScuttle/Service/User.php @@ -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') . |