added spaces
Signed-off-by: Roland Haeder <roland@mxchange.org>
This commit is contained in:
parent
be59fe86e5
commit
f2f20c85d5
2 changed files with 8 additions and 8 deletions
|
@ -1416,9 +1416,9 @@ function conv_sort($arr, $order) {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (stristr($order, 'created')) {
|
if (stristr($order, 'created')) {
|
||||||
usort($parents,'sort_thr_created');
|
usort($parents, 'sort_thr_created');
|
||||||
} elseif (stristr($order, 'commented')) {
|
} elseif (stristr($order, 'commented')) {
|
||||||
usort($parents,'sort_thr_commented');
|
usort($parents, 'sort_thr_commented');
|
||||||
}
|
}
|
||||||
|
|
||||||
if (count($parents)) {
|
if (count($parents)) {
|
||||||
|
@ -1532,19 +1532,19 @@ function get_responses($conv_responses, $response_verbs, $ob, $item) {
|
||||||
function get_response_button_text($v, $count) {
|
function get_response_button_text($v, $count) {
|
||||||
switch ($v) {
|
switch ($v) {
|
||||||
case 'like':
|
case 'like':
|
||||||
return tt('Like','Likes', $count,'noun');
|
return tt('Like', 'Likes', $count, 'noun');
|
||||||
break;
|
break;
|
||||||
case 'dislike':
|
case 'dislike':
|
||||||
return tt('Dislike','Dislikes', $count,'noun');
|
return tt('Dislike', 'Dislikes', $count, 'noun');
|
||||||
break;
|
break;
|
||||||
case 'attendyes':
|
case 'attendyes':
|
||||||
return tt('Attending','Attending', $count,'noun');
|
return tt('Attending', 'Attending', $count, 'noun');
|
||||||
break;
|
break;
|
||||||
case 'attendno':
|
case 'attendno':
|
||||||
return tt('Not Attending','Not Attending', $count,'noun');
|
return tt('Not Attending', 'Not Attending', $count, 'noun');
|
||||||
break;
|
break;
|
||||||
case 'attendmaybe':
|
case 'attendmaybe':
|
||||||
return tt('Undecided','Undecided', $count,'noun');
|
return tt('Undecided', 'Undecided', $count, 'noun');
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -74,7 +74,7 @@ function cron_run(&$argv, &$argc){
|
||||||
|
|
||||||
proc_run(PRIORITY_LOW, "include/discover_poco.php", "suggestions");
|
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');
|
proc_run(PRIORITY_LOW, 'include/expire.php');
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue