mirror of
https://github.com/Yetangitu/ampache
synced 2025-10-05 02:39:47 +02:00
Fix issue #1260
Fix coding guidelines incoherences. Code should match PSR1/2 now, and php-cs is set to check it on each commit. Also fixed the Git hook to take into account only added, modified, copied and renamed files (preventing errors when trying to check deleted files). Closes #1260.
This commit is contained in:
parent
178e53a82e
commit
2bb142eeb8
283 changed files with 1332 additions and 1347 deletions
|
@ -53,8 +53,8 @@ class AmpacheStreamBandwidth
|
|||
if (Preference::exists('stream_control_bandwidth_max')) {
|
||||
return false;
|
||||
}
|
||||
Preference::insert('stream_control_bandwidth_max','Stream control maximal bandwidth (Mo)','1024','50','integer','plugins',$this->name);
|
||||
Preference::insert('stream_control_bandwidth_days','Stream control bandwidth history (days)','30','50','integer','plugins',$this->name);
|
||||
Preference::insert('stream_control_bandwidth_max', 'Stream control maximal bandwidth (Mo)', '1024', '50', 'integer', 'plugins', $this->name);
|
||||
Preference::insert('stream_control_bandwidth_days', 'Stream control bandwidth history (days)', '30', '50', 'integer', 'plugins', $this->name);
|
||||
return true;
|
||||
} // install
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue