Add new directory structure. Tags will contain current and past releases, and stable will contain any bug fixes to the current stable release so users won't have to get the potentially broken trunk build to fix a screwup in stable.
Trunk updated to 0.9 git-svn-id: http://kusabax.cultnet.net/svn/repo/stable@176 73d99b7e-4f53-4972-b7b7-2ecd3c4d89ee
This commit is contained in:
commit
88bacfad9c
316 files changed
+79806
No files matched your search
@@ -0,0 +1,22 @@
|
||||
<?php
|
||||
function clearBlotterCache() {
|
||||
if (KU_APC) {
|
||||
apc_delete('blotter|all');
|
||||
apc_delete('blotter|last4');
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Clear cache for the supplied post ID of the supplied board
|
||||
*
|
||||
* @param integer $id Post ID
|
||||
* @param string $board Board name
|
||||
*/
|
||||
function clearPostCache($id, $board) {
|
||||
global $tc_db;
|
||||
if (KU_APC) {
|
||||
apc_delete('post|' . $board . '|' . $id);
|
||||
}
|
||||
$tc_db->Execute("DELETE FROM `" . KU_DBPREFIX . "reports` WHERE `postid` = " . $id . " AND `board` = " . $tc_db->qstr($board));
|
||||
}
|
||||
?>
|
||||
Reference in new issue
Block a user