Add 'smartphone' add-on to common blacklist

This commit is contained in:
Kijin Sung 2016-02-26 09:20:35 +09:00
parent d4a7b921d0
commit e4077ad324
2 changed files with 3 additions and 2 deletions

View file

@ -7,5 +7,6 @@
*/
return array(
'member_communication' => true,
'smartphone' => true,
'zipperupper' => true,
);

View file

@ -1,4 +1,4 @@
<?php
s<?php
/* Copyright (C) NAVER <http://www.navercorp.com> */
/**
@ -84,7 +84,7 @@ class addonController extends addon
$addon_list = $oAddonModel->getInsertedAddons($site_srl, $gtype);
foreach($addon_list as $addon => $val)
{
if($val->addon == "smartphone" || Context::isBlacklistedPlugin($addon)
if(Context::isBlacklistedPlugin($addon)
|| ($type == "pc" && $val->is_used != 'Y')
|| ($type == "mobile" && $val->is_used_m != 'Y')
|| ($gtype == 'global' && $val->is_fixed != 'Y')