Removing deprecated references and files
This commit is contained in:
@@ -44,7 +44,7 @@ pake_task('new-plugin', 'project_exists');
|
||||
pake_desc("Update the plugin attributes in all workspaces\n args: <plugin-name>");
|
||||
pake_task("update-plugin-attributes", "project_exists");
|
||||
|
||||
pake_desc("Check disabled code in plugins\n args: [enterprise-plugin|custom-plugin|all|<plugin-name>]");
|
||||
pake_desc("Check disabled code in plugins\n args: [custom-plugin|all|<plugin-name>]");
|
||||
pake_task("check-plugin-disabled-code", "project_exists");
|
||||
|
||||
pake_desc("pack plugin in .tar file \n args: <plugin>");
|
||||
@@ -2335,8 +2335,6 @@ function run_check_plugin_disabled_code($task, $args)
|
||||
$option2 = strtoupper($option);
|
||||
|
||||
switch ($option2) {
|
||||
case "ENTERPRISE-PLUGIN":
|
||||
break;
|
||||
case "CUSTOM-PLUGIN":
|
||||
case "ALL":
|
||||
case "":
|
||||
@@ -2365,11 +2363,6 @@ function run_check_plugin_disabled_code($task, $args)
|
||||
$pluginParentClassName = $arrayMatch[1];
|
||||
|
||||
switch ($option2) {
|
||||
case "ENTERPRISE-PLUGIN":
|
||||
if ($pluginParentClassName == "enterprisePlugin") {
|
||||
$arrayData[] = $pluginName;
|
||||
}
|
||||
break;
|
||||
case "CUSTOM-PLUGIN":
|
||||
case "ALL":
|
||||
case "":
|
||||
|
||||
@@ -35,7 +35,6 @@ class G
|
||||
'ldapadvanced' => LdapAdvanced::class,
|
||||
'dashletopenvscompleted' => DashletOpenVsCompleted::class,
|
||||
'dashletrssreader' => DashletRssReader::class,
|
||||
'dashletprocessmakerenterprise' => DashletProcessMakerEnterprise::class,
|
||||
'dashletprocessmakercommunity' => DashletProcessMakerCommunity::class,
|
||||
];
|
||||
|
||||
@@ -6135,11 +6134,9 @@ class G
|
||||
*/
|
||||
public static function defineConstants()
|
||||
{
|
||||
//Moved from Enterprise class.
|
||||
if (file_exists(PATH_METHODS . "login/version-pmos.php")) {
|
||||
include(PATH_METHODS . "login/version-pmos.php");
|
||||
}
|
||||
//Removed default version from code.
|
||||
|
||||
/**
|
||||
* The constants defined comes from the file:
|
||||
|
||||
Reference in New Issue
Block a user