From 59e90214e620c76424a1c2ab8d0c63cfbf6e65ac Mon Sep 17 00:00:00 2001 From: DariusIII Date: Wed, 10 Jan 2018 10:45:18 +0000 Subject: [PATCH] Apply fixes from StyleCI [ci skip] [skip ci] --- app/Models/Forumpost.php | 2 +- public/admin/forum-delete.php | 1 - public/pages/Page.php | 2 +- public/pages/forum.php | 2 +- public/pages/forumpost.php | 2 +- public/pages/post_edit.php | 2 +- public/pages/topic_delete.php | 2 +- 7 files changed, 6 insertions(+), 7 deletions(-) diff --git a/app/Models/Forumpost.php b/app/Models/Forumpost.php index e52de3807..3adec1a4f 100644 --- a/app/Models/Forumpost.php +++ b/app/Models/Forumpost.php @@ -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 { diff --git a/public/admin/forum-delete.php b/public/admin/forum-delete.php index e7a63f493..3f72ae540 100644 --- a/public/admin/forum-delete.php +++ b/public/admin/forum-delete.php @@ -4,7 +4,6 @@ use App\Models\Forumpost; require_once dirname(__DIR__).DIRECTORY_SEPARATOR.'smarty.php'; - $page = new AdminPage(); if (isset($_GET['id'])) { diff --git a/public/pages/Page.php b/public/pages/Page.php index a2be75838..489d96ec0 100644 --- a/public/pages/Page.php +++ b/public/pages/Page.php @@ -1,11 +1,11 @@ show403(); diff --git a/public/pages/forumpost.php b/public/pages/forumpost.php index 45ebc163c..09dff25f8 100644 --- a/public/pages/forumpost.php +++ b/public/pages/forumpost.php @@ -1,8 +1,8 @@ show403(); diff --git a/public/pages/post_edit.php b/public/pages/post_edit.php index 5bcf1a594..45f3ff36a 100644 --- a/public/pages/post_edit.php +++ b/public/pages/post_edit.php @@ -1,7 +1,7 @@ show403(); diff --git a/public/pages/topic_delete.php b/public/pages/topic_delete.php index b5d6574ec..9a3fb75b2 100644 --- a/public/pages/topic_delete.php +++ b/public/pages/topic_delete.php @@ -1,7 +1,7 @@ show403();