From ec23e324852b68f24e32f794bcfdc70d749284a4 Mon Sep 17 00:00:00 2001 From: Kelly Rauchenberger Date: Sun, 14 Sep 2008 15:55:52 +0000 Subject: Series: [15] Refs #53 --- series/trunk/includes/instadisc.php | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'series/trunk') diff --git a/series/trunk/includes/instadisc.php b/series/trunk/includes/instadisc.php index d7010a6..7334b6f 100644 --- a/series/trunk/includes/instadisc.php +++ b/series/trunk/includes/instadisc.php @@ -110,10 +110,15 @@ function instaDisc_listSubscriptions($username) return $getsubs3; } -function deleteSubscription($id) +function instaDisc_deleteSubscription($id) { $delsub = "DELETE FROM subscriptions WHERE id = " . $id; $delsub2 = mysql_query($delsub); } +function instaDisc_isAdmin($username) +{ + return ($username == instaDisc_getConfig('adminUser')); +} + ?> -- cgit 1.4.1