Browse Source

clear tracked cites when deleting board

pull/40/head
Savetheinternet 13 years ago
parent
commit
7536a1b619
  1. 4
      mod.php

4
mod.php

@ -1451,6 +1451,10 @@
cache::delete('all_boards');
}
$query = prepare("DELETE FROM `cites` WHERE `board` = :board OR `target_board` = :board");
$query->bindValue(':board', $board['uri']);
$query->execute() or error(db_error($query));
rebuildThemes('boards');
header('Location: ?/', true, $config['redirect_http']);

Loading…
Cancel
Save