1
0
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:
Meik Sievertsen
2007-04-22 18:09:03 +00:00
parent 5742dcd68a
commit 5cb586461b
10 changed files with 34 additions and 26 deletions

View File

@@ -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;