Completed
Push — master ( e550d2...4cccf1 )
by Nikita
05:55
created
src/Application.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -67,8 +67,7 @@
 block discarded – undo
67 67
     {
68 68
         if (!dbQuery('material')->cond('UserID', $identifier)->cond('Active', 1)->first()) {
69 69
             return parent::__async_remove2($identifier);
70
-        }
71
-        else {
70
+        } else {
72 71
             return array('status' => 1, 'error_message' => t('Пока у этого пользователя есть материалы, его удаление невозможно.', true));
73 72
         }
74 73
     }
Please login to merge, or discard this patch.
src/field/FullName.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -7,8 +7,6 @@
 block discarded – undo
7 7
  */
8 8
 namespace samsoncms\app\user\field;
9 9
 
10
-use samsonframework\core\RenderInterface;
11
-use samsonframework\orm\QueryInterface;
12 10
 use samsoncms\field\Generic;
13 11
 
14 12
 /**
Please login to merge, or discard this patch.