mirror of
https://git.sekbaer.de/Friendica/friendica.git
synced 2025-06-12 01:54:26 +02:00
Fix undefined variable/wrong parameter count/unknown functions
This commit is contained in:
parent
4b5894817e
commit
2978b1eef0
16 changed files with 36 additions and 33 deletions
|
@ -107,7 +107,7 @@ class Cache
|
|||
}
|
||||
|
||||
// Frequently clear cache
|
||||
self::clear($duration);
|
||||
self::clear();
|
||||
|
||||
$r = dba::select('cache', array('v'), array('k' => $key), array('limit' => 1));
|
||||
|
||||
|
|
|
@ -767,7 +767,7 @@ class NotificationsManager
|
|||
public function introNotifs($all = false, $start = 0, $limit = 80)
|
||||
{
|
||||
$ident = 'introductions';
|
||||
$total = $this->introTotal($seen);
|
||||
$total = $this->introTotal($all);
|
||||
$notifs = array();
|
||||
$sql_extra = "";
|
||||
|
||||
|
|
|
@ -140,7 +140,7 @@ class PConfig
|
|||
// manage array value
|
||||
$dbvalue = (is_array($value) ? serialize($value) : $dbvalue);
|
||||
|
||||
dba::update('pconfig', array('v' => $dbvalue), array('uid' => $uid, 'cat' => $family, 'k' => $key), true);
|
||||
$ret = dba::update('pconfig', array('v' => $dbvalue), array('uid' => $uid, 'cat' => $family, 'k' => $key), true);
|
||||
|
||||
if ($ret) {
|
||||
self::$in_db[$uid][$family][$key] = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue