Page Menu
Home
In-Portal Phabricator
Search
Configure Global Search
Log In
Files
F1046434
D117.id263.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, Jun 28, 6:21 PM
Size
774 B
Mime Type
text/x-diff
Expires
Sun, Jun 29, 6:21 PM (5 h, 3 m)
Engine
blob
Format
Raw Data
Handle
676493
Attached To
D117: INP-1467 - Remove license check for "In-Commerce" module
D117.id263.diff
View Options
Index: core/units/helpers/modules_helper.php
===================================================================
--- core/units/helpers/modules_helper.php
+++ 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