1
0
Fork 0

"altpager" is now the standard value and can be disabled. Depending upon the user reactions we can disable it in an upcoming version.

This commit is contained in:
Michael Vogel 2015-02-08 11:54:42 +01:00
commit 1d48ab0191
6 changed files with 17 additions and 17 deletions

View file

@ -627,7 +627,7 @@ die("ss");
}
else {
if( (! get_config('alt_pager', 'global')) && (! get_pconfig(local_user(),'system','alt_pager')) ) {
if(get_config('system', 'old_pager')) {
$r = q("SELECT COUNT(*) AS `total`
FROM $sql_table $sql_post_table INNER JOIN `contact` ON `contact`.`id` = $sql_table.`contact-id`
AND `contact`.`blocked` = 0 AND `contact`.`pending` = 0
@ -815,10 +815,9 @@ die("ss");
$o .= conversation($a,$items,$mode,$update);
if(!$update) {
if( get_config('alt_pager', 'global') || get_pconfig(local_user(),'system','alt_pager') ) {
if(!get_config('system', 'old_pager')) {
$o .= alt_pager($a,count($items));
}
else {
} else {
$o .= paginate($a);
}
}