Completed
Push — master ( 97286a...d11ccf )
by
unknown
06:12
created
migrations/m150725_164824_init.php 1 patch
Spacing   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -14,15 +14,15 @@
 block discarded – undo
14 14
         }
15 15
         $this->createTable('{{%MailQueue}}', [
16 16
             'id' => Schema::TYPE_PK,
17
-            'from' => Schema::TYPE_STRING . '(100) NOT NULL',
18
-            'to' => Schema::TYPE_STRING . '(100) NOT NULL',
19
-            'subject' => Schema::TYPE_STRING . '(100) NOT NULL',
20
-            'body' => Schema::TYPE_TEXT . ' NOT NULL',
21
-            'attachs' => Schema::TYPE_TEXT . ' NOT NULL',
22
-            'priority' => Schema::TYPE_SMALLINT . '(2) NOT NULL DEFAULT 0',
23
-            'status' => Schema::TYPE_SMALLINT . '(1) NOT NULL',
24
-            'createdDate' => Schema::TYPE_DATETIME . ' NOT NULL',
25
-            'updatedDate' => Schema::TYPE_DATETIME . ' NOT NULL',
17
+            'from' => Schema::TYPE_STRING.'(100) NOT NULL',
18
+            'to' => Schema::TYPE_STRING.'(100) NOT NULL',
19
+            'subject' => Schema::TYPE_STRING.'(100) NOT NULL',
20
+            'body' => Schema::TYPE_TEXT.' NOT NULL',
21
+            'attachs' => Schema::TYPE_TEXT.' NOT NULL',
22
+            'priority' => Schema::TYPE_SMALLINT.'(2) NOT NULL DEFAULT 0',
23
+            'status' => Schema::TYPE_SMALLINT.'(1) NOT NULL',
24
+            'createdDate' => Schema::TYPE_DATETIME.' NOT NULL',
25
+            'updatedDate' => Schema::TYPE_DATETIME.' NOT NULL',
26 26
                 ], $tableOptions);
27 27
     }
28 28
 
Please login to merge, or discard this patch.
MailQueue.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@  discard block
 block discarded – undo
39 39
         parent::init();
40 40
         
41 41
         //Merge main extension config with local extension config
42
-        $config = include(dirname(__FILE__) . '/config/main.php');
42
+        $config = include(dirname(__FILE__).'/config/main.php');
43 43
         foreach ($config as $key => $value) {
44 44
             if (is_array($value)) {
45 45
                 $this->{$key} = ArrayHelper::merge($value, $this->{$key});
@@ -72,7 +72,7 @@  discard block
 block discarded – undo
72 72
             );
73 73
         }        
74 74
         
75
-        Yii::setAlias('@yiicod', realpath(dirname(__FILE__) . '/..'));
75
+        Yii::setAlias('@yiicod', realpath(dirname(__FILE__).'/..'));
76 76
     }
77 77
 
78 78
 }
Please login to merge, or discard this patch.
commands/MailQueueCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -57,7 +57,7 @@
 block discarded – undo
57 57
             Yii::$app->mailQueue->delivery($criteria);
58 58
         } catch (Exception $e) {
59 59
             if (YII_DEBUG) {
60
-                Yii::error("MailQueueCommand: " . $e->getMessage(), 'system.mailqueue');
60
+                Yii::error("MailQueueCommand: ".$e->getMessage(), 'system.mailqueue');
61 61
             }
62 62
         }
63 63
     }
Please login to merge, or discard this patch.