]> git.mxchange.org Git - friendica.git/commitdiff
added spaces
authorRoland Haeder <roland@mxchange.org>
Fri, 14 Apr 2017 13:30:50 +0000 (15:30 +0200)
committerRoland Haeder <roland@mxchange.org>
Fri, 14 Apr 2017 14:27:06 +0000 (16:27 +0200)
Signed-off-by: Roland Haeder <roland@mxchange.org>
include/conversation.php
include/cron.php

index 6ce9a6dea427fb8ff6951907c8199f0acbb8b7b1..64204c696fd7afbb99635001e03cace994a98a60 100644 (file)
@@ -1416,9 +1416,9 @@ function conv_sort($arr, $order) {
        }
 
        if (stristr($order, 'created')) {
-               usort($parents,'sort_thr_created');
+               usort($parents, 'sort_thr_created');
        } elseif (stristr($order, 'commented')) {
-               usort($parents,'sort_thr_commented');
+               usort($parents, 'sort_thr_commented');
        }
 
        if (count($parents)) {
@@ -1532,19 +1532,19 @@ function get_responses($conv_responses, $response_verbs, $ob, $item) {
 function get_response_button_text($v, $count) {
        switch ($v) {
                case 'like':
-                       return tt('Like','Likes', $count,'noun');
+                       return tt('Like', 'Likes', $count, 'noun');
                        break;
                case 'dislike':
-                       return tt('Dislike','Dislikes', $count,'noun');
+                       return tt('Dislike', 'Dislikes', $count, 'noun');
                        break;
                case 'attendyes':
-                       return tt('Attending','Attending', $count,'noun');
+                       return tt('Attending', 'Attending', $count, 'noun');
                        break;
                case 'attendno':
-                       return tt('Not Attending','Not Attending', $count,'noun');
+                       return tt('Not Attending', 'Not Attending', $count, 'noun');
                        break;
                case 'attendmaybe':
-                       return tt('Undecided','Undecided', $count,'noun');
+                       return tt('Undecided', 'Undecided', $count, 'noun');
                        break;
        }
 }
index a2af016961e4d2b811b2eaf2c57a2f983f72c262..8bc83a37214abf7c924afd302b8c1e75dde41e53 100644 (file)
@@ -74,7 +74,7 @@ function cron_run(&$argv, &$argc){
 
                proc_run(PRIORITY_LOW, "include/discover_poco.php", "suggestions");
 
-               set_config('system', 'last_expire_day',$d2);
+               set_config('system', 'last_expire_day', $d2);
 
                proc_run(PRIORITY_LOW, 'include/expire.php');