diff --git a/Model/WikiFileModel.php b/Model/WikiFileModel.php
index 2b3e4a6..f28aa67 100644
--- a/Model/WikiFileModel.php
+++ b/Model/WikiFileModel.php
@@ -3,7 +3,6 @@
namespace Kanboard\Plugin\Wiki\Model;
use Kanboard\Model\FileModel;
-use Kanboard\Plugin\Wiki\Model\Wiki;
/**
* Wiki File Model
@@ -26,7 +25,7 @@ class WikiFileModel extends FileModel
* @var string
*/
const EVENT_CREATE = 'wiki.file.create';
-
+
/**
* Get the table
@@ -39,7 +38,7 @@ protected function getTable()
{
return self::TABLE;
}
-
+
/**
* Define the foreign key
@@ -105,7 +104,7 @@ protected function fireCreationEvent($file_id)
{
return null;
}
-
+
protected function fireDestructionEvent($file_id)
{
return null;
diff --git a/Model/WikiModel.php b/Model/WikiModel.php
index e5ec418..0cc5efe 100755
--- a/Model/WikiModel.php
+++ b/Model/WikiModel.php
@@ -5,7 +5,6 @@
use Kanboard\Core\Base;
use Kanboard\Core\Controller\PageNotFoundException;
use Kanboard\Core\Controller\AccessForbiddenException;
-// use Kanboard\Model\WikiModel;
use Kanboard\Model\UserModel;
use SimpleValidator\Validator;
use SimpleValidator\Validators;
@@ -53,7 +52,7 @@ public function getEditions($wiki_id)
const EVENT_UPDATE = 'wikipage.update';
const EVENT_CREATE = 'wikipage.create';
const EVENT_DELETE = 'wikipage.delete';
-
+
/**
* retrieve wikipages by parent id
@@ -178,7 +177,7 @@ public function reorderPagesByIndex($project_id, $src_wiki_id, $index, $parent_i
// echo json_encode($wikiPages), true;
- // echo "project_id: " . $project_id . " src_wiki_id: " . $src_wiki_id . " index: " .
+ // echo "project_id: " . $project_id . " src_wiki_id: " . $src_wiki_id . " index: " .
$index . " parent_id: " . $parent_id ." count list: " . count($wikiPages) . "
";
// change order of each in for loop, move matching id to one before target
$orderColumn = 0;
@@ -260,7 +259,7 @@ public function reorderPages($project_id, $src_wiki_id, $target_wiki_id){
if(!$result){
return false;
}
- }
+ }
}
$orderColumn++;
}
@@ -436,7 +435,7 @@ public function updatepage($paramvalues, $editions, $date = '')
if ($this->userSession->isLogged()) {
$values['modifier_id'] = $this->userSession->getId();
}
-
+
$wikiEventJob = new WikiEventJob($this->container);
$wikiEventJob->executeWithId($paramvalues['id'], self::EVENT_UPDATE);
// $wikiEventJob = new WikiEventJob($this->container);
diff --git a/Template/wiki_list/sort_menu.php b/Template/wiki_list/sort_menu.php
index 29f1dc5..179f263 100644
--- a/Template/wiki_list/sort_menu.php
+++ b/Template/wiki_list/sort_menu.php
@@ -2,16 +2,16 @@
= t('Sort') ?>