mirror of
https://github.com/e107inc/e107.git
synced 2025-08-22 14:13:03 +02:00
Code cleanup / globals removal etc.
This commit is contained in:
@@ -74,7 +74,7 @@ if (isset($_POST['createFeed']) || isset($_POST['updateFeed']))
|
||||
$mes->addInfo(LAN_NO_CHANGE.': '.$sql->mySQLerror);
|
||||
}
|
||||
}
|
||||
$e107->ecache->clear(NEWSFEED_LIST_CACHE_TAG); // This should actually clear all the newsfeed data in one go
|
||||
e107::getCache()->clear(NEWSFEED_LIST_CACHE_TAG); // This should actually clear all the newsfeed data in one go
|
||||
}
|
||||
else
|
||||
{
|
||||
|
@@ -113,7 +113,7 @@ class newsfeedClass
|
||||
if ($this->useCache)
|
||||
{ // Cache enabled - we need to save some updated info
|
||||
$temp = e107::serialize($this->feedList, FALSE);
|
||||
$e107->ecache->set(NEWSFEED_LIST_CACHE_TAG,$temp);
|
||||
e107::getCache()->set(NEWSFEED_LIST_CACHE_TAG,$temp);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user