about summary refs log tree commit diff stats
path: root/series/trunk/includes
diff options
context:
space:
mode:
Diffstat (limited to 'series/trunk/includes')
-rw-r--r--series/trunk/includes/instadisc.php7
1 files changed, 6 insertions, 1 deletions
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)
110 return $getsubs3; 110 return $getsubs3;
111} 111}
112 112
113function deleteSubscription($id) 113function instaDisc_deleteSubscription($id)
114{ 114{
115 $delsub = "DELETE FROM subscriptions WHERE id = " . $id; 115 $delsub = "DELETE FROM subscriptions WHERE id = " . $id;
116 $delsub2 = mysql_query($delsub); 116 $delsub2 = mysql_query($delsub);
117} 117}
118 118
119function instaDisc_isAdmin($username)
120{
121 return ($username == instaDisc_getConfig('adminUser'));
122}
123
119?> 124?>