summaryrefslogtreecommitdiffstats
path: root/web/html/packages.php
diff options
context:
space:
mode:
authorCallan Barrett <wizzomafizzo@gmail.com>2008-05-29 11:23:40 +0200
committerCallan Barrett <wizzomafizzo@gmail.com>2008-06-05 20:10:59 +0200
commit94a805321016db8646834d5fb26198ce738d459f (patch)
tree0f1e062d52883e6e16984c74db509ea3de4643a6 /web/html/packages.php
parenta49ee80aa2e03843748e89185fd811d83cd34db9 (diff)
downloadaur-94a805321016db8646834d5fb26198ce738d459f.tar.gz
aur-94a805321016db8646834d5fb26198ce738d459f.tar.xz
Disable user package deletion
Users can no longer delete packages if they own them, only TUs and devs Signed-off-by: Callan Barrett <wizzomafizzo@gmail.com>
Diffstat (limited to 'web/html/packages.php')
-rw-r--r--web/html/packages.php3
1 files changed, 0 insertions, 3 deletions
diff --git a/web/html/packages.php b/web/html/packages.php
index 0394c6e1..80ddf209 100644
--- a/web/html/packages.php
+++ b/web/html/packages.php
@@ -218,9 +218,6 @@ if ($_POST['action'] == "do_Flag" || isset($_POST['do_Flag'])) {
#
if ($atype == "Trusted User" || $atype == "Developer") {
$result = db_query($q, $dbh);
- } else {
- $q.= "AND $field IN (0, " . uid_from_sid($_COOKIE["AURSID"]) . ")";
- $result = db_query($q, $dbh);
}
if ($result != Null && mysql_num_rows($result) > 0) {
while ($row = mysql_fetch_assoc($result)) {