Page Menu
Home
In-Portal Phabricator
Search
Configure Global Search
Log In
Files
F847763
D117.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Sat, Apr 19, 5:37 PM
Size
819 B
Mime Type
text/x-diff
Expires
Sun, Apr 20, 5:37 PM (12 m, 25 s)
Engine
blob
Format
Raw Data
Handle
602557
Attached To
D117: INP-1467 - Remove license check for "In-Commerce" module
D117.diff
View Options
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
Log In to Comment