Page MenuHomeIn-Portal Phabricator

D117.diff
No OneTemporary

File Metadata

Created
Sat, Apr 19, 5:37 PM

D117.diff

Index: branches/5.2.x/core/units/helpers/modules_helper.php
===================================================================
--- branches/5.2.x/core/units/helpers/modules_helper.php
+++ branches/5.2.x/core/units/helpers/modules_helper.php
@@ -219,14 +219,7 @@
*/
protected function _getFreeModules($vars)
{
- $domain = $this->_GetDomain($vars);
- $modules = array_map('strtolower', $this->getModules());
-
- if ( !$this->_IsLocalSite($domain) ) {
- return array_diff($modules, Array ('in-commerce', 'in-auction'));
- }
-
- return $modules;
+ return array_map('strtolower', $this->getModules());
}
/**
@@ -500,4 +493,4 @@
{
return file_exists($folder_path . '/install.php') && file_exists($folder_path . '/install/install_schema.sql');
}
- }
\ No newline at end of file
+ }

Event Timeline