Completed
Branch dev (c992ef)
by Darko
06:17
created
public/admin/ajax_sharing_settings.php 1 patch
Unused Use Statements   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -2,9 +2,9 @@
 block discarded – undo
2 2
 
3 3
 require_once dirname(__DIR__).DIRECTORY_SEPARATOR.'smarty.php';
4 4
 
5
-use nntmux\db\DB;
6
-use nntmux\Sharing;
7 5
 use App\Models\ReleaseComment;
6
+use nntmux\Sharing;
7
+use nntmux\db\DB;
8 8
 
9 9
 // Login check.
10 10
 $admin = new AdminPage;
Please login to merge, or discard this patch.
public/admin/category_regexes-edit.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -2,8 +2,8 @@
 block discarded – undo
2 2
 
3 3
 require_once dirname(__DIR__).DIRECTORY_SEPARATOR.'smarty.php';
4 4
 
5
-use nntmux\Regexes;
6 5
 use App\Models\Category;
6
+use nntmux\Regexes;
7 7
 
8 8
 $page = new AdminPage();
9 9
 $regexes = new Regexes(['Settings' => $page->pdo, 'Table_Name' => 'category_regexes']);
Please login to merge, or discard this patch.
public/admin/site-edit.php 1 patch
Unused Use Statements   +3 added lines, -4 removed lines patch added patch discarded remove patch
@@ -2,12 +2,11 @@
 block discarded – undo
2 2
 
3 3
 require_once dirname(__DIR__).DIRECTORY_SEPARATOR.'smarty.php';
4 4
 
5
-use nntmux\Sites;
6
-use nntmux\SABnzbd;
7
-use App\Models\Category;
5
+use App\Models\Category as CategoryModel;
8 6
 use App\Models\Settings;
7
+use nntmux\SABnzbd;
8
+use nntmux\Sites;
9 9
 use nntmux\utility\Utility;
10
-use App\Models\Category as CategoryModel;
11 10
 
12 11
 $page = new AdminPage();
13 12
 $sites = new Sites();
Please login to merge, or discard this patch.
public/pages/anime.php 1 patch
Unused Use Statements   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,9 +1,9 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-use nntmux\AniDB;
3
+use App\Models\Category;
4 4
 use App\Models\User;
5
+use nntmux\AniDB;
5 6
 use nntmux\Releases;
6
-use App\Models\Category;
7 7
 
8 8
 if (! User::isLoggedIn()) {
9 9
     $page->show403();
Please login to merge, or discard this patch.
public/pages/console.php 1 patch
Unused Use Statements   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1,9 +1,9 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-use nntmux\Genres;
4
-use nntmux\Console;
5
-use App\Models\User;
6 3
 use App\Models\Category;
4
+use App\Models\User;
5
+use nntmux\Console;
6
+use nntmux\Genres;
7 7
 
8 8
 if (! User::isLoggedIn()) {
9 9
     $page->show403();
Please login to merge, or discard this patch.
public/pages/details.php 1 patch
Unused Use Statements   +13 added lines, -13 removed lines patch added patch discarded remove patch
@@ -1,24 +1,24 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-use nntmux\XXX;
3
+use App\Models\DnzbFailure;
4
+use App\Models\Predb;
5
+use App\Models\Release;
6
+use App\Models\ReleaseComment;
7
+use App\Models\ReleaseFile;
8
+use App\Models\ReleaseNfo;
9
+use App\Models\ReleaseRegex;
10
+use App\Models\Settings;
11
+use App\Models\User;
12
+use App\Models\Video;
4 13
 use nntmux\AniDB;
5 14
 use nntmux\Books;
15
+use nntmux\Console;
6 16
 use nntmux\Games;
7 17
 use nntmux\Movie;
8 18
 use nntmux\Music;
9
-use nntmux\Console;
10
-use App\Models\User;
11
-use nntmux\Releases;
12
-use App\Models\Predb;
13
-use App\Models\Video;
14
-use App\Models\Release;
15
-use App\Models\Settings;
16 19
 use nntmux\ReleaseExtra;
17
-use App\Models\ReleaseNfo;
18
-use App\Models\DnzbFailure;
19
-use App\Models\ReleaseFile;
20
-use App\Models\ReleaseRegex;
21
-use App\Models\ReleaseComment;
20
+use nntmux\Releases;
21
+use nntmux\XXX;
22 22
 
23 23
 if (! User::isLoggedIn()) {
24 24
     $page->show403();
Please login to merge, or discard this patch.
public/pages/filelist.php 1 patch
Unused Use Statements   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,9 +1,9 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
+use App\Models\Release;
4
+use App\Models\User;
3 5
 use nntmux\NZB;
4 6
 use nntmux\db\DB;
5
-use App\Models\User;
6
-use App\Models\Release;
7 7
 
8 8
 $pdo = new DB();
9 9
 $nzb = new NZB();
Please login to merge, or discard this patch.
public/pages/games.php 1 patch
Unused Use Statements   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,9 +1,9 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
+use App\Models\Category;
4
+use App\Models\User;
3 5
 use nntmux\Games;
4 6
 use nntmux\Genres;
5
-use App\Models\User;
6
-use App\Models\Category;
7 7
 
8 8
 if (! User::isLoggedIn()) {
9 9
     $page->show403();
Please login to merge, or discard this patch.
public/pages/movies.php 1 patch
Unused Use Statements   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,8 +1,8 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-use nntmux\Movie;
4
-use App\Models\User;
5 3
 use App\Models\Category;
4
+use App\Models\User;
5
+use nntmux\Movie;
6 6
 
7 7
 $movie = new Movie(['Settings' => $page->settings]);
8 8
 
Please login to merge, or discard this patch.