style(legacy): format files (#1946)

This commit is contained in:
Jonas L 2022-07-07 20:01:15 +02:00 committed by GitHub
parent eb19283d96
commit 4d393fa14e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
66 changed files with 775 additions and 565 deletions

View file

@ -61,10 +61,12 @@ class Application_Model_User
$type = $this->getType();
$result = false;
if ($this->isAdmin()
if (
$this->isAdmin()
|| $this->isSuperAdmin()
|| $this->isPM()
|| self::isHostOfShow($p_showId)) {
|| self::isHostOfShow($p_showId)
) {
$result = true;
}
@ -387,7 +389,8 @@ WHERE id = :id
SQL;
return Application_Common_Database::prepareAndExecute($sql, [
':id' => $id, ], 'single');
':id' => $id,
], 'single');
}
public static function getCurrentUser()