19declare(strict_types=1);
30 return hash(
"sha256", self::class);
35 return "Fix userid encoding in Registration settings";
46 new \ilIniFilesPopulatedObjective(),
47 new \ilSettingsFactoryExistsObjective()
53 $factory = $environment->
getResource(
Setup\Environment::RESOURCE_SETTINGS_FACTORY);
55 $settings = $factory->settingsFor(
"common");
56 $approve_recipient_ids = [];
58 stripslashes($settings->get(
'approve_recipient',
'')),
59 [
'allowed_classes' =>
false]
61 $approve_recipient_ids[] = (
int)
$id;
63 $settings->set(
'approve_recipient', addslashes(serialize($approve_recipient_ids)));
$id
plugin.php for ilComponentBuildPluginInfoObjectiveTest::testAddPlugins
Remove stored information of Radius.
isApplicable(Setup\Environment $environment)
@inheritDoc
getPreconditions(Setup\Environment $environment)
An environment holds resources to be used in the setup process.
getResource(string $id)
Consumers of this method should check if the result is what they expect, e.g.
An objective is a desired state of the system that is supposed to be created by the setup.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...