* [task#152263,doing,0.2h] remove unused code.
This commit is contained in:
@@ -168,10 +168,6 @@ class admin extends control
|
||||
}
|
||||
}
|
||||
|
||||
$enableER = $this->config->edition == 'ipd' ? 1 : zget($data->module, 'productER', 0);
|
||||
$URAndSR = $this->config->edition == 'ipd' ? 1 : zget($data->module, 'productUR', 0);
|
||||
if($enableER && !$URAndSR) $this->send(array('result' => 'fail', 'message' => $this->lang->admin->notice->openUR));
|
||||
|
||||
foreach($closedFeatures as $closedFeature)
|
||||
{
|
||||
if(in_array($closedFeature, array('productER', 'productUR')))
|
||||
|
||||
Reference in New Issue
Block a user