Completed
Push — master ( 9d10c2...bf46e5 )
by Lars
05:14
created
cron/email_batch.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -67,7 +67,7 @@
 block discarded – undo
67 67
                 $filehandler = new FileHandler($kernel, $file['id']);
68 68
                 
69 69
                 // lille hack med at s�tte uploadpath p�
70
-                $attachment = Swift_Attachment::fromPath($filehandler->getUploadPath() . $filehandler->get('server_file_name'), $filehandler->get('file_type'))->setFilename($file['filename']);
70
+                $attachment = Swift_Attachment::fromPath($filehandler->getUploadPath().$filehandler->get('server_file_name'), $filehandler->get('file_type'))->setFilename($file['filename']);
71 71
                 $message->attach($attachment);
72 72
             }
73 73
         }    
Please login to merge, or discard this patch.
scripts/user/elevforeningen/ef.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -51,7 +51,7 @@
 block discarded – undo
51 51
         continue;
52 52
     }
53 53
 
54
-    echo $debtor['id'] . ' order set as sent';
54
+    echo $debtor['id'].' order set as sent';
55 55
     $d = Debtor::factory($kernel, $debtor['id']);
56 56
     $d->setStatus('sent');
57 57
 
Please login to merge, or discard this patch.
scripts/user/carmakoma_contacts_to_newsletter.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -43,9 +43,9 @@  discard block
 block discarded – undo
43 43
 }
44 44
 
45 45
 while ($row = $result->fetchRow(MDB2_FETCHMODE_ASSOC)) {
46
-    echo $row['number']. ', ' . $row['id']. ', ' . $row['date_created'] . ', '.$row['email']. ', '. $row['name']. ', ';
46
+    echo $row['number'].', '.$row['id'].', '.$row['date_created'].', '.$row['email'].', '.$row['name'].', ';
47 47
     
48
-    $newsletter = $db->query('SELECT id FROM newsletter_subscriber WHERE contact_id = '. $row['id']);
48
+    $newsletter = $db->query('SELECT id FROM newsletter_subscriber WHERE contact_id = '.$row['id']);
49 49
     if ($newsletter->numRows() == 0) {
50 50
         $subscriber = new NewsletterSubscriber($list);
51 51
         $contact = new Contact($kernel, $row['id']);
@@ -60,6 +60,6 @@  discard block
 block discarded – undo
60 60
     $i++;
61 61
 }
62 62
 
63
-echo $i. " number of contacts";
63
+echo $i." number of contacts";
64 64
 
65 65
 ?>
66 66
\ No newline at end of file
Please login to merge, or discard this patch.
scripts/cleanup_database.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@
 block discarded – undo
17 17
 }
18 18
 
19 19
 if (empty($opts->k) OR empty($opts->fk) OR empty($opts->ft) OR empty($opts->t)) {
20
-    echo 'not used correctly' . "\n";
20
+    echo 'not used correctly'."\n";
21 21
     exit(1);
22 22
 }
23 23
 
Please login to merge, or discard this patch.
generate_package_xml.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -250,7 +250,7 @@
 block discarded – undo
250 250
 
251 251
 foreach ($web_files AS $file) {
252 252
     $src_file = substr($file, 4);
253
-    $formatted_file = substr($file, strlen($web_dir . '/'));
253
+    $formatted_file = substr($file, strlen($web_dir.'/'));
254 254
     if (in_array($src_file, $ignore)) continue;
255 255
     $pfm->addInstallAs($src_file, $formatted_file);
256 256
 }
Please login to merge, or discard this patch.
src/intraface.dk/tools/index.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -105,7 +105,7 @@  discard block
 block discarded – undo
105 105
 {
106 106
     function create($filename)
107 107
     {
108
-        $filename = $filename . '.tpl.php';
108
+        $filename = $filename.'.tpl.php';
109 109
         $__template_filename__ = k_search_include_path($filename);
110 110
         if (!is_file($__template_filename__)) {
111 111
             throw new Exception("Failed opening '".$filename."' for inclusion. (include_path=".ini_get('include_path').")");
@@ -119,7 +119,7 @@  discard block
 block discarded – undo
119 119
 {
120 120
     $factory = new ToolsFactory();
121 121
     $container = new bucket_Container($factory);
122
-    $factory->db_dsn = 'mysql://' . DB_USER . ':' . DB_PASS . '@' . DB_HOST . '/' . DB_NAME;
122
+    $factory->db_dsn = 'mysql://'.DB_USER.':'.DB_PASS.'@'.DB_HOST.'/'.DB_NAME;
123 123
     $factory->error_log = ERROR_LOG;
124 124
     return $container;
125 125
 }
Please login to merge, or discard this patch.
src/intraface.dk/config.local.default.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@  discard block
 block discarded – undo
22 22
 define('NET_DIRECTORY', '/src/intraface.dk/'); // subdirectory. if non keep empty
23 23
 
24 24
 // define paths - remember trailing slahs
25
-define('PATH_ROOT', dirname(__FILE__) . '/../');
25
+define('PATH_ROOT', dirname(__FILE__).'/../');
26 26
 
27 27
 // optional upload path - remember trailing slash
28 28
 define('PATH_UPLOAD', '/var/cache/intraface/upload/');
@@ -31,7 +31,7 @@  discard block
 block discarded – undo
31 31
 define('PATH_CACHE', '/var/cache/intraface/');
32 32
 
33 33
 // set include path
34
-define('PATH_INCLUDE_PATH', PATH_ROOT . PATH_SEPARATOR . get_include_path());
34
+define('PATH_INCLUDE_PATH', PATH_ROOT.PATH_SEPARATOR.get_include_path());
35 35
 set_include_path(PATH_INCLUDE_PATH);
36 36
 
37 37
 // error logs
Please login to merge, or discard this patch.
src/intraface.dk/common.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -13,10 +13,10 @@
 block discarded – undo
13 13
     throw new Exception('This file cannot be accessed directly');
14 14
 }
15 15
 
16
-$config_file = dirname(__FILE__) . DIRECTORY_SEPARATOR . 'config.local.php';
16
+$config_file = dirname(__FILE__).DIRECTORY_SEPARATOR.'config.local.php';
17 17
 
18 18
 if (!file_exists($config_file)) {
19
-    $config_file = dirname(__FILE__) . DIRECTORY_SEPARATOR . 'config.local.default.php';
19
+    $config_file = dirname(__FILE__).DIRECTORY_SEPARATOR.'config.local.default.php';
20 20
 }
21 21
 
22 22
 require_once $config_file;
Please login to merge, or discard this patch.
src/intraface.dk/core/css/stylesheet.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@
 block discarded – undo
24 24
     readfile('forms.css');
25 25
 
26 26
     $theme = intval($_GET['theme']);
27
-    readfile('skins/' . $themes[$theme]['label'] . '/typo.css');
27
+    readfile('skins/'.$themes[$theme]['label'].'/typo.css');
28 28
 }
29 29
 
30 30
 exit;
Please login to merge, or discard this patch.