code cleanup

This commit is contained in:
redmatrix
2016-05-24 20:49:23 -07:00
parent f9a295a236
commit 80f2ba640e
30 changed files with 29 additions and 585 deletions

View File

@@ -24,8 +24,6 @@ function find_doc_file($s) {
function search_doc_files($s) {
$a = get_app();
$itemspage = get_pconfig(local_channel(),'system','itemspage');
\App::set_pager_itemspage(((intval($itemspage)) ? $itemspage : 20));
$pager_sql = sprintf(" LIMIT %d OFFSET %d ", intval(\App::$pager['itemspage']), intval(\App::$pager['start']));