style(legacy): format files (#1946)
This commit is contained in:
parent
eb19283d96
commit
4d393fa14e
66 changed files with 775 additions and 565 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue