about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorKelly Rauchenberger <fefferburbia@gmail.com>2008-09-14 15:55:52 +0000
committerKelly Rauchenberger <fefferburbia@gmail.com>2008-09-14 15:55:52 +0000
commitec23e324852b68f24e32f794bcfdc70d749284a4 (patch)
tree19199edbf3ac27679d3f3d35265c2ebebb5ab24e
parent338308e2bd8ca78337c11a2806f272eae748fb52 (diff)
downloadinstadisc-ec23e324852b68f24e32f794bcfdc70d749284a4.tar.gz
instadisc-ec23e324852b68f24e32f794bcfdc70d749284a4.tar.bz2
instadisc-ec23e324852b68f24e32f794bcfdc70d749284a4.zip
Series: [15]
Refs #53
-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?>