Fix indenting. Remove use of $_SESSION[] inside of the class because we can simply use $this
This commit is contained in:
@@ -411,7 +411,7 @@ class User {
|
|||||||
$additionalTerms = "AND id='".$iAppDataId."'";
|
$additionalTerms = "AND id='".$iAppDataId."'";
|
||||||
}
|
}
|
||||||
|
|
||||||
if($_SESSION['current']->hasPriv("admin"))
|
if($this->hasPriv("admin"))
|
||||||
{
|
{
|
||||||
$sQuery = "SELECT ".$selectTerms."
|
$sQuery = "SELECT ".$selectTerms."
|
||||||
FROM appData,appVersion
|
FROM appData,appVersion
|
||||||
|
|||||||
Reference in New Issue
Block a user