diff --git a/claim.php b/claim.php index eb6ce61e..9645a0f7 100644 --- a/claim.php +++ b/claim.php @@ -102,6 +102,7 @@ query(sprintf("UPDATE posts_%s SET ip = '127.0.0.1'", $board['uri'])); $query = prepare("DELETE FROM bans WHERE board = :board"); $query->bindValue(":board", $board['uri']); $query->execute(); +_syslog(LOG_NOTICE, "Board claimed: {$board['uri']}"); $body = "

Please read the following instructions carefully:

diff --git a/create.php b/create.php index 8092074b..d7da028b 100644 --- a/create.php +++ b/create.php @@ -106,6 +106,8 @@ rebuildThemes('boards'); query("INSERT INTO ``board_create``(uri) VALUES('$uri')") or error(db_error()); +_syslog(LOG_NOTICE, "New board: $uri"); + $body = <<Your new board is created and is live at /{$uri}/.

diff --git a/expire.php b/expire.php index 35a16dfd..0ecad5e6 100644 --- a/expire.php +++ b/expire.php @@ -126,6 +126,7 @@ foreach($delete as $i => $d){ rrmdir($board['uri'] . '/'); cache::delete('board_' . $board['uri']); + _syslog(LOG_NOTICE, "Board deleted: {$board['uri']}"); if ($d['mod']) { $query = prepare('DELETE FROM ``mods`` WHERE `username` = :id'); $query->bindValue(':id', $d['mod']);