summaryrefslogtreecommitdiffstats
path: root/web/lib/aur.inc
diff options
context:
space:
mode:
authorpjmattal <pjmattal>2004-12-15 01:33:12 +0000
committerpjmattal <pjmattal>2004-12-15 01:33:12 +0000
commit252afad9fc0c46089b327a1315580a342cbc87c0 (patch)
tree6584678cf105deb47d6c85e7a8c00b54b61e3690 /web/lib/aur.inc
parent7549ca2d967e5146892b86b3334278c2591d3379 (diff)
downloadaurweb-252afad9fc0c46089b327a1315580a342cbc87c0.tar.xz
tweaks to package functions and schema
Diffstat (limited to 'web/lib/aur.inc')
-rw-r--r--web/lib/aur.inc13
1 files changed, 0 insertions, 13 deletions
diff --git a/web/lib/aur.inc b/web/lib/aur.inc
index e696d5b..267b650 100644
--- a/web/lib/aur.inc
+++ b/web/lib/aur.inc
@@ -444,19 +444,6 @@ function dbug($msg) {
return;
}
-# check to see if the package name exists
-#
-function package_exists($name="") {
- if (!$name) {return 0;}
- $dbh = db_connect();
- $q = "SELECT COUNT(*) FROM Packages ";
- $q.= "WHERE Name = '".mysql_escape_string($name)."'";
- $result = db_query($q, $dbh);
- if (!$result) {return 0;}
- $row = mysql_fetch_row($result);
- return $row[0];
-}
-
# check to see if the user can overwrite an existing package
#
function can_overwrite_pkg($name="", $sid="") {