mirror of
https://github.com/linuxserver/Heimdall.git
synced 2026-02-21 12:10:34 +09:00
chore: Add php code sniffer github check (#1066)
This commit is contained in:
@@ -218,6 +218,7 @@ class Setting extends Model
|
||||
return self::_fetch($key, $user);
|
||||
}
|
||||
|
||||
// @codingStandardsIgnoreStart
|
||||
/**
|
||||
* @param string $key
|
||||
*
|
||||
@@ -225,6 +226,7 @@ class Setting extends Model
|
||||
*/
|
||||
public static function _fetch($key, $user = null)
|
||||
{
|
||||
// @codingStandardsIgnoreEnd
|
||||
//$cachekey = ($user === null) ? $key : $key.'-'.$user->id;
|
||||
//if (Setting::cached($cachekey)) {
|
||||
// return Setting::$cache[$cachekey];
|
||||
|
||||
Reference in New Issue
Block a user