summaryrefslogtreecommitdiff
path: root/src/SemanticScuttle
diff options
context:
space:
mode:
authorChristian Weiske <cweiske@cweiske.de>2011-04-26 06:48:26 +0200
committerChristian Weiske <cweiske@cweiske.de>2011-04-26 06:48:26 +0200
commitda36ba7b7e9e56d7dbf9f516f9b2674b78e10ef9 (patch)
tree4a0dea08e65a1d64fd709f9cae9a93390bd861ce /src/SemanticScuttle
parent79e3f4e121146254a8e17c3bd271679c815eca8c (diff)
downloadsemanticscuttle-da36ba7b7e9e56d7dbf9f516f9b2674b78e10ef9.tar.gz
semanticscuttle-da36ba7b7e9e56d7dbf9f516f9b2674b78e10ef9.tar.bz2
replace deprecated split
Diffstat (limited to 'src/SemanticScuttle')
-rw-r--r--src/SemanticScuttle/Service/User.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/SemanticScuttle/Service/User.php b/src/SemanticScuttle/Service/User.php
index 091ea4d..7f0624e 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 (int)$_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') .