Removing deprecated references and files
This commit is contained in:
@@ -3,7 +3,6 @@
|
||||
use ProcessMaker\ChangeLog\ChangeLog;
|
||||
|
||||
if (isset($_GET['BROWSER_TIME_ZONE_OFFSET'])) {
|
||||
if (PMLicensedFeatures::getSingleton()->verifyfeature('zLhSk5TeEQrNFI2RXFEVktyUGpnczV1WEJNWVp6cjYxbTU3R29mVXVZNWhZQT0=')) {
|
||||
// since all the request parameters using this script are encrypted
|
||||
// using the URL_KEY the probability of injecting any kind of code using
|
||||
// this entry point are only possible knowing the aforementioned key.
|
||||
@@ -139,7 +138,6 @@ if (isset($_GET['BROWSER_TIME_ZONE_OFFSET'])) {
|
||||
G::RenderPage('publish', 'blank');
|
||||
break;
|
||||
}
|
||||
}
|
||||
} else {
|
||||
?>
|
||||
<html>
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
<?php
|
||||
if (isset($_GET['BROWSER_TIME_ZONE_OFFSET'])) {
|
||||
if (PMLicensedFeatures::getSingleton()->verifyfeature('zLhSk5TeEQrNFI2RXFEVktyUGpnczV1WEJNWVp6cjYxbTU3R29mVXVZNWhZQT0=')) {
|
||||
global $G_PUBLISH;
|
||||
|
||||
$G_PUBLISH = new Publisher();
|
||||
@@ -101,7 +100,6 @@ if (isset($_GET['BROWSER_TIME_ZONE_OFFSET'])) {
|
||||
}
|
||||
|
||||
G::RenderPage('publish', 'blank');
|
||||
}
|
||||
} else {
|
||||
?>
|
||||
<html>
|
||||
|
||||
@@ -9,10 +9,6 @@ use ProcessMaker\BusinessModel\Cases as BmCases;
|
||||
use ProcessMaker\Core\JobsManager;
|
||||
use ProcessMaker\Validation\ValidationUploadedFiles;
|
||||
|
||||
$featureEnable = PMLicensedFeatures::getSingleton()
|
||||
->verifyfeature('zLhSk5TeEQrNFI2RXFEVktyUGpnczV1WEJNWVp6cjYxbTU3R29mVXVZNWhZQT0=');
|
||||
if ($featureEnable) {
|
||||
|
||||
/**
|
||||
* To do: The following evaluation must be moved after saving the data (so as not to lose the data entered in the form).
|
||||
* It only remains because it is an old behavior, which must be defined by "Product Owner".
|
||||
@@ -87,5 +83,4 @@ if ($featureEnable) {
|
||||
$G_PUBLISH->AddContent('xmlform', 'xmlform', 'login/showMessage', '', ['MESSAGE' => $error->getMessage() . ' Please contact to your system administrator.']);
|
||||
}
|
||||
$_SESSION = unserialize($backupSession);
|
||||
G::RenderPage('publish', 'blank');
|
||||
}
|
||||
G::RenderPage('publish', 'blank');
|
||||
Reference in New Issue
Block a user