summaryrefslogtreecommitdiff
path: root/scripts/inbox_users.php
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/inbox_users.php')
-rwxr-xr-xscripts/inbox_users.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/inbox_users.php b/scripts/inbox_users.php
index b74a212dc..0543abb2a 100755
--- a/scripts/inbox_users.php
+++ b/scripts/inbox_users.php
@@ -62,7 +62,7 @@ foreach ($ids as $id) {
$old_inbox = new Notice_inbox();
$old_inbox->user_id = $user->id;
- $result = $inbox->delete();
+ $result = $old_inbox->delete();
if (is_null($result) || $result === false) {
common_log_db_error($old_inbox, 'DELETE', __FILE__);