Fix indenting. Remove use of $_SESSION[] inside of the class because we can simply use $this

This commit is contained in:
Chris Morgan
2005-08-14 18:49:21 +00:00
committed by WineHQ
parent 691a199bd1
commit c77e881999

View File

@@ -411,7 +411,7 @@ class User {
$additionalTerms = "AND id='".$iAppDataId."'";
}
if($_SESSION['current']->hasPriv("admin"))
if($this->hasPriv("admin"))
{
$sQuery = "SELECT ".$selectTerms."
FROM appData,appVersion