From ac824fe83e67950f9303d13d574ff00b57dd5727 Mon Sep 17 00:00:00 2001 From: Mike Macgirvin Date: Mon, 18 Oct 2010 14:34:59 -0700 Subject: eradicate redundant get_uid function --- mod/notifications.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'mod/notifications.php') diff --git a/mod/notifications.php b/mod/notifications.php index 603c1117c..d09ec5ede 100644 --- a/mod/notifications.php +++ b/mod/notifications.php @@ -17,7 +17,7 @@ function notifications_post(&$a) { WHERE `request-id` = %d AND `uid` = %d LIMIT 1", intval($request_id), - intval(get_uid()) + intval(local_user()) ); if(count($r)) { @@ -33,7 +33,7 @@ function notifications_post(&$a) { ); $r = q("DELETE FROM `contact` WHERE `id` = %d AND `uid` = %d LIMIT 1", intval($request_id), - intval(get_uid()) + intval(local_user()) ); return; } -- cgit v1.2.3