Some code cleaning up and refactoring.

This commit is contained in:
James Cole
2016-04-26 08:09:10 +02:00
parent 22e6ea700f
commit 1c8834fffb
8 changed files with 148 additions and 143 deletions

View File

@@ -132,8 +132,8 @@ class TagController extends Controller
/*
* Can this tag become another type?
*/
$allowAdvance = $repository->tagAllowAdvance($tag);
$allowToBalancingAct = $repository->tagAllowBalancing($tag);
$allowAdvance = Tag::tagAllowAdvance($tag);
$allowToBalancingAct = Tag::tagAllowBalancing($tag);
// edit tag options:
if ($allowAdvance === false) {