# HG changeset patch # User Matti Hamalainen # Date 1521456173 -7200 # Node ID 718f4c504662be9a8afd47d34d7a4cb1c445af81 # Parent 5e7319ccb7cf6d83fa7fa2c39382c917d7b01df4 Remove function that was used only once, merge it to parent. diff -r 5e7319ccb7cf -r 718f4c504662 mgallery.php --- a/mgallery.php Thu Mar 15 14:41:48 2018 +0200 +++ b/mgallery.php Mon Mar 19 12:42:53 2018 +0200 @@ -128,8 +128,10 @@ function mgPrintPageFooter() { + if (($str = mgGetSetting("page_info")) !== FALSE) + echo "
".$str."
"; + echo - mgGetPageInfoFooter(). "\n\n\n"; } @@ -378,15 +380,6 @@ } -function mgGetPageInfoFooter() -{ - if (($str = mgGetSetting("page_info")) !== FALSE) - return "
".$str."
"; - else - return ""; -} - - function mgGetBreadCrump($class, &$pdata) { return