mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-22 01:58:47 +02:00
🎨 N°4092 rename method
Thanks @Molkobain !
This commit is contained in:
@@ -149,7 +149,7 @@ class MFCompiler
|
||||
*
|
||||
* @since 3.0.0 N°4092
|
||||
*/
|
||||
public static function IsUseSymbolicLinksFlagCanBeUsed(): bool
|
||||
public static function CanUseSymbolicLinksFlagBeUsed(): bool
|
||||
{
|
||||
if (false === utils::IsDevelopmentEnvironment()) {
|
||||
return false;
|
||||
@@ -171,7 +171,7 @@ class MFCompiler
|
||||
*/
|
||||
public static function SetUseSymbolicLinksFlag(bool $bUseSymbolicLinks): void
|
||||
{
|
||||
if (!static::IsUseSymbolicLinksFlagCanBeUsed()) {
|
||||
if (!static::CanUseSymbolicLinksFlagBeUsed()) {
|
||||
// functionality cannot be used, so we're doing nothing !
|
||||
return;
|
||||
}
|
||||
@@ -223,7 +223,7 @@ class MFCompiler
|
||||
{
|
||||
if (is_null($bUseSymbolicLinks)) {
|
||||
$bUseSymbolicLinks = false;
|
||||
if (self::IsUseSymbolicLinksFlagCanBeUsed() && self::IsUseSymbolicLinksFlagPresent()) {
|
||||
if (self::CanUseSymbolicLinksFlagBeUsed() && self::IsUseSymbolicLinksFlagPresent()) {
|
||||
// We are only overriding the useSymLinks option if the consumer didn't specify anything
|
||||
// The toolkit always send this parameter for example, but not the Designer Connector
|
||||
$bUseSymbolicLinks = true;
|
||||
|
||||
@@ -955,7 +955,7 @@ abstract class AbstractWizStepMiscParams extends WizardStep
|
||||
*/
|
||||
final protected function AddUseSymlinksFlagOption(WebPage $oPage): void
|
||||
{
|
||||
if (MFCompiler::IsUseSymbolicLinksFlagCanBeUsed()) {
|
||||
if (MFCompiler::CanUseSymbolicLinksFlagBeUsed()) {
|
||||
$sChecked = (MFCompiler::IsUseSymbolicLinksFlagPresent()) ? ' checked' : '';
|
||||
|
||||
$oPage->add('<fieldset>');
|
||||
|
||||
Reference in New Issue
Block a user