Completed
Push — master ( 6b3f9a...3399fa )
by Iurii
01:08
created
handlers/Extract.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -54,7 +54,7 @@
 block discarded – undo
54 54
         foreach ($files as $file) {
55 55
             foreach ($this->extract->extractFromFile($file) as $string) {
56 56
                 if (!$this->exists($string, $job)) {
57
-                    $job['inserted'] ++;
57
+                    $job['inserted']++;
58 58
                     gplcart_file_csv($job['data']['file'], array($string, ''));
59 59
                 }
60 60
             }
Please login to merge, or discard this patch.
Extractor.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -58,7 +58,7 @@
 block discarded – undo
58 58
     public function hookCron()
59 59
     {
60 60
         // Automatically delete created files older than 1 day
61
-        $lifespan = 24*60*60;
61
+        $lifespan = 24 * 60 * 60;
62 62
         $directory = GC_PRIVATE_DOWNLOAD_DIR . '/extracted-translations';
63 63
         if (is_dir($directory)) {
64 64
             gplcart_file_delete($directory, array('csv'), $lifespan);
Please login to merge, or discard this patch.