Use object manager to process screenshot queue. Temporary fix for mysql overloading by

limiting screenshot processing to submitters.
This commit is contained in:
Alexander Nicolaysen Sørnes
2007-03-11 03:07:43 +00:00
committed by WineHQ
parent ad2f0a0504
commit e9060a68d5
4 changed files with 190 additions and 13 deletions

View File

@@ -6,9 +6,13 @@
function global_maintainer_admin_menu() {
$g = new htmlmenu("Maintainer Admin");
$g->add("View App Queue (".$_SESSION['current']->getQueuedVersionCount().")", BASE."admin/adminAppQueue.php");
$g->add("View App Data Queue (".appData::objectGetEntriesCount("true").")", BASE."admin/adminAppDataQueue.php");
$g->add("View App Queue (".$_SESSION['current']->getQueuedVersionCount().")",
BASE."admin/adminAppQueue.php");
$g->add("View Screenshot Queue (".appData::objectGetEntriesCount("true",
"screenshot").")",
BASE."objectManager.php?sClass=screenshot&bIsQueue=true&sTitle=".
"Screenshot%20Queue");
$g->done();
}