1
0
Fork 0
mirror of https://github.com/Yetangitu/ampache synced 2025-10-03 01:39:28 +02:00
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:
Phyks (Lucas Verney) 2016-06-17 12:20:43 +02:00
parent 178e53a82e
commit 2bb142eeb8
283 changed files with 1332 additions and 1347 deletions

View file

@ -28,4 +28,4 @@ require_once 'lib/init.php';
// To end a legitimate session, just call logout.
setcookie(AmpConfig::get('session_name') . '_remember', null, -1);
Auth::logout('',false);
Auth::logout('', false);