mirror of
https://github.com/salesagility/SuiteCRM.git
synced 2025-03-14 05:22:49 +00:00
Removing unused code
This commit is contained in:
parent
01d78ecb74
commit
0b834460f3
1 changed files with 0 additions and 7 deletions
|
@ -45,19 +45,12 @@ require_once 'modules/ModuleBuilder/Module/StudioModule.php' ;
|
|||
*/
|
||||
class StudioModuleFactory
|
||||
{
|
||||
/**
|
||||
* @var array $loadedMods - array( 'module' => StudioModule )
|
||||
*/
|
||||
protected static $loadedMods = array();
|
||||
|
||||
/**
|
||||
* @param string $module name
|
||||
* @return StudioModule
|
||||
*/
|
||||
public static function getStudioModule($module)
|
||||
{
|
||||
// if (!empty(self::$loadedMods[$module]))
|
||||
// return self::$loadedMods[$module];
|
||||
|
||||
$studioModClass = "{$module}StudioModule";
|
||||
if (file_exists("custom/modules/{$module}/{$studioModClass}.php"))
|
||||
|
|
Loading…
Reference in a new issue