#18947649 : deprecate smartphone addon

git-svn-id: http://xe-core.googlecode.com/svn/sandbox@7511 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
haneul 2010-06-15 07:09:35 +00:00
parent 763af3d026
commit 286edea1a2

View file

@ -126,6 +126,7 @@
$oAddonModel = &getAdminModel('addon');
$addon_list = $oAddonModel->getInsertedAddons($site_srl);
foreach($addon_list as $addon => $val) {
if($val->addon == "smartphone") continue;
if($val->is_used != 'Y' || !is_dir(_XE_PATH_.'addons/'.$addon) ) continue;
$extra_vars = unserialize($val->extra_vars);