mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-26 22:02:13 +09:00
#18549056 : shorten table name
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@7190 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
92be400c27
commit
bd47ed941f
16 changed files with 37 additions and 17 deletions
|
|
@ -8,6 +8,7 @@
|
|||
|
||||
class autoinstallAdminView extends autoinstall {
|
||||
|
||||
var $categories;
|
||||
|
||||
function init() {
|
||||
$template_path = sprintf("%stpl/",$this->module_path);
|
||||
|
|
@ -181,7 +182,7 @@
|
|||
|
||||
$oModel = &getModel('autoinstall');
|
||||
$item = $oModel->getLatestPackage();
|
||||
if(!$item || $item->updatedate < $updateDate )
|
||||
if(!$item || $item->updatedate < $updateDate || count($this->categories) < 1)
|
||||
{
|
||||
Context::set('need_update', true);
|
||||
return;
|
||||
|
|
@ -231,8 +232,8 @@
|
|||
function dispCategory()
|
||||
{
|
||||
$oModel = &getModel('autoinstall');
|
||||
$categories = &$oModel->getCategoryList();
|
||||
Context::set('categories', $categories);
|
||||
$this->categories = &$oModel->getCategoryList();
|
||||
Context::set('categories', $this->categories);
|
||||
}
|
||||
}
|
||||
?>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue