mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-14 16:02:14 +09:00
issue 850 admin favorite bug fix. not use self auto_increment
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@9809 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
da50b4b732
commit
499c586a74
4 changed files with 39 additions and 1 deletions
|
|
@ -276,10 +276,12 @@
|
|||
/**
|
||||
* @brief Insert favorite
|
||||
**/
|
||||
function _insertFavorite($siteSrl, $module)
|
||||
function _insertFavorite($siteSrl, $module, $type = 'module')
|
||||
{
|
||||
$args->adminFavoriteSrl = getNextSequence();
|
||||
$args->site_srl = $siteSrl;
|
||||
$args->module = $module;
|
||||
$args->type = $type;
|
||||
$output = executeQuery('admin.insertFavorite', $args);
|
||||
return $output;
|
||||
}
|
||||
|
|
@ -294,6 +296,16 @@
|
|||
return $output;
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief Delete favorite
|
||||
**/
|
||||
function _deleteAllFavorite()
|
||||
{
|
||||
$args = null;
|
||||
$output = executeQuery('admin.deleteAllFavorite', $args);
|
||||
return $output;
|
||||
}
|
||||
|
||||
function procAdminRemoveIcons(){
|
||||
$iconname = Context::get('iconname');
|
||||
$file_exist = FileHandler::readFile(_XE_PATH_.'files/attach/xeicon/'.$iconname);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue