mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 22:10:45 +02:00
changed the cache files to save some memory (all global ones are hold in memory, doubling it).
git-svn-id: file:///svn/phpbb/trunk@7386 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -285,7 +285,7 @@ class acp_icons
|
||||
}
|
||||
}
|
||||
|
||||
$cache->destroy('icons');
|
||||
$cache->destroy('_icons');
|
||||
$cache->destroy('sql', $table);
|
||||
|
||||
if ($action == 'modify')
|
||||
@@ -446,7 +446,7 @@ class acp_icons
|
||||
}
|
||||
}
|
||||
|
||||
$cache->destroy('icons');
|
||||
$cache->destroy('_icons');
|
||||
$cache->destroy('sql', $table);
|
||||
|
||||
trigger_error($user->lang[$lang . '_IMPORT_SUCCESS'] . adm_back_link($this->u_action));
|
||||
@@ -565,7 +565,7 @@ class acp_icons
|
||||
|
||||
$notice = $user->lang[$lang . '_DELETED'];
|
||||
|
||||
$cache->destroy('icons');
|
||||
$cache->destroy('_icons');
|
||||
$cache->destroy('sql', $table);
|
||||
}
|
||||
else
|
||||
@@ -617,7 +617,7 @@ class acp_icons
|
||||
$db->sql_query($sql);
|
||||
}
|
||||
|
||||
$cache->destroy('icons');
|
||||
$cache->destroy('_icons');
|
||||
$cache->destroy('sql', $table);
|
||||
|
||||
break;
|
||||
|
Reference in New Issue
Block a user