Remove some debug lines...again...
This commit is contained in:
@@ -245,15 +245,9 @@ class User {
|
|||||||
function is_super_maintainer($appId)
|
function is_super_maintainer($appId)
|
||||||
{
|
{
|
||||||
if(!loggedin() || !$this->userid)
|
if(!loggedin() || !$this->userid)
|
||||||
{
|
|
||||||
echo "not logged in or not this userid";
|
|
||||||
return false;
|
return false;
|
||||||
}else {
|
|
||||||
echo "running the query";
|
|
||||||
}
|
|
||||||
|
|
||||||
$query = "SELECT * FROM appMaintainers WHERE userid = '$this->userid' AND appId = '$appId' AND superMaintainer = '1'";
|
$query = "SELECT * FROM appMaintainers WHERE userid = '$this->userid' AND appId = '$appId' AND superMaintainer = '1'";
|
||||||
echo "$query";
|
|
||||||
$result = mysql_query($query, $this->link);
|
$result = mysql_query($query, $this->link);
|
||||||
if(!$result)
|
if(!$result)
|
||||||
return 0;
|
return 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user