aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions_privmsgs.php
diff options
context:
space:
mode:
authorMeik Sievertsen <acydburn@phpbb.com>2006-05-26 15:04:27 +0000
committerMeik Sievertsen <acydburn@phpbb.com>2006-05-26 15:04:27 +0000
commit9fca29eae3051730b72f6144e2683cd2fe7c8d0b (patch)
tree247a6d85513aecc010d34dec73e80d0996f4df05 /phpBB/includes/functions_privmsgs.php
parent8dc9fc089bf3a45bd5f23986d5c9f4992196834f (diff)
downloadforums-9fca29eae3051730b72f6144e2683cd2fe7c8d0b.tar
forums-9fca29eae3051730b72f6144e2683cd2fe7c8d0b.tar.gz
forums-9fca29eae3051730b72f6144e2683cd2fe7c8d0b.tar.bz2
forums-9fca29eae3051730b72f6144e2683cd2fe7c8d0b.tar.xz
forums-9fca29eae3051730b72f6144e2683cd2fe7c8d0b.zip
some tiny changes...
git-svn-id: file:///svn/phpbb/trunk@5967 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/functions_privmsgs.php')
-rw-r--r--phpBB/includes/functions_privmsgs.php8
1 files changed, 5 insertions, 3 deletions
diff --git a/phpBB/includes/functions_privmsgs.php b/phpBB/includes/functions_privmsgs.php
index 4b5a43e2c8..ebbb119851 100644
--- a/phpBB/includes/functions_privmsgs.php
+++ b/phpBB/includes/functions_privmsgs.php
@@ -270,7 +270,7 @@ function place_pm_into_folder(&$global_privmsgs_rules, $release = false)
if (!$user->data['user_new_privmsg'])
{
- return;
+ return 0;
}
$user_new_privmsg = (int) $user->data['user_new_privmsg'];
@@ -709,7 +709,7 @@ function handle_mark_actions($user_id, $mark_action)
if (!sizeof($msg_ids))
{
- return;
+ return false;
}
switch ($mark_action)
@@ -889,6 +889,8 @@ function delete_pm($user_id, $msg_ids, $folder_id)
WHERE msg_id IN (' . $delete_ids . ')';
$db->sql_query($sql);
}
+
+ return true;
}
/**
@@ -1099,7 +1101,7 @@ function submit_pm($mode, $subject, &$data, $update_message, $put_in_outbox = tr
// We do not handle erasing posts here
if ($mode == 'delete')
{
- return;
+ return false;
}
$current_time = time();