mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-08-29 02:01:33 +00:00
Apply fixes from StyleCI
[ci skip] [skip ci]
This commit is contained in:
@@ -2,8 +2,8 @@
|
||||
|
||||
namespace App\Models;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
use Illuminate\Support\Carbon;
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class Forumpost extends Model
|
||||
{
|
||||
|
||||
@@ -4,7 +4,6 @@ use App\Models\Forumpost;
|
||||
|
||||
require_once dirname(__DIR__).DIRECTORY_SEPARATOR.'smarty.php';
|
||||
|
||||
|
||||
$page = new AdminPage();
|
||||
|
||||
if (isset($_GET['id'])) {
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
<?php
|
||||
|
||||
use App\Models\Forumpost;
|
||||
use nntmux\Menu;
|
||||
use App\Models\User;
|
||||
use nntmux\Category;
|
||||
use nntmux\Contents;
|
||||
use App\Models\Settings;
|
||||
use App\Models\Forumpost;
|
||||
|
||||
/**
|
||||
* This class represents every normal user page in the site.
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
<?php
|
||||
|
||||
use App\Models\Forumpost;
|
||||
use App\Models\User;
|
||||
use App\Models\Settings;
|
||||
use App\Models\Forumpost;
|
||||
|
||||
if (! User::isLoggedIn()) {
|
||||
$page->show403();
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
<?php
|
||||
|
||||
use App\Models\Forumpost;
|
||||
use App\Models\User;
|
||||
use App\Models\Settings;
|
||||
use App\Models\Forumpost;
|
||||
|
||||
if (! User::isLoggedIn()) {
|
||||
$page->show403();
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<?php
|
||||
|
||||
use App\Models\Forumpost;
|
||||
use App\Models\User;
|
||||
use App\Models\Forumpost;
|
||||
|
||||
if (! User::isLoggedIn()) {
|
||||
$page->show403();
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<?php
|
||||
|
||||
use App\Models\Forumpost;
|
||||
use App\Models\User;
|
||||
use App\Models\Forumpost;
|
||||
|
||||
if (! User::isLoggedIn()) {
|
||||
$page->show403();
|
||||
|
||||
Reference in New Issue
Block a user