Clean up HTML and PHP, remove extranious checks for loggedin()
This commit is contained in:
@@ -1,13 +1,11 @@
|
||||
<?php
|
||||
|
||||
|
||||
include("path.php");
|
||||
include(BASE."include/"."incl.php");
|
||||
include(BASE."include/"."tableve.php");
|
||||
include(BASE."include/"."qclass.php");
|
||||
|
||||
|
||||
if(!loggedin() || !havepriv("admin"))
|
||||
if(!havepriv("admin"))
|
||||
{
|
||||
errorpage();
|
||||
exit;
|
||||
@@ -34,7 +32,7 @@ else
|
||||
mysql_query("DELETE FROM $table WHERE vendorName = 'NONAME'");
|
||||
|
||||
if(debugging())
|
||||
echo "$query <br><br>\n";
|
||||
echo "$query <br /><br />\n";
|
||||
|
||||
$t->create($query, $table, "vendorId");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user