mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-05 09:41:40 +09:00
Always treat member_communication addon as activated
This commit is contained in:
parent
a1fc0e3c3b
commit
c0210dc524
1 changed files with 15 additions and 0 deletions
|
|
@ -451,6 +451,21 @@ class addonAdminModel extends addon
|
|||
*/
|
||||
function isActivatedAddon($addon, $site_srl = 0, $type = "pc", $gtype = 'site')
|
||||
{
|
||||
$always_return_true_for_compatibility = array(
|
||||
'member_communication' => true,
|
||||
);
|
||||
$always_return_false_for_compatibility = array(
|
||||
);
|
||||
|
||||
if(isset($always_return_true_for_compatibility[$addon]))
|
||||
{
|
||||
return true;
|
||||
}
|
||||
if(isset($always_return_false_for_compatibility[$addon]))
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
$args = new stdClass();
|
||||
$args->addon = $addon;
|
||||
if($gtype == 'global')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue