X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs-website;a=blobdiff_plain;f=web%2Fmodules%2Fcontrib%2Fsecurity_review%2Fsrc%2FCheckSettings.php;fp=web%2Fmodules%2Fcontrib%2Fsecurity_review%2Fsrc%2FCheckSettings.php;h=0000000000000000000000000000000000000000;hp=5e9fce9c6981457329565f9783108d9fe354157c;hb=419f97be044f1aebd0713921ee604841127e9e84;hpb=052617e40b525f8b817d84c29b1c04951f427069 diff --git a/web/modules/contrib/security_review/src/CheckSettings.php b/web/modules/contrib/security_review/src/CheckSettings.php deleted file mode 100644 index 5e9fce9c6..000000000 --- a/web/modules/contrib/security_review/src/CheckSettings.php +++ /dev/null @@ -1,81 +0,0 @@ -check = $check; - $this->config = $config; - } - - /** - * {@inheritdoc} - */ - public function get($key, $default_value = NULL) { - $value = $this->config->get('settings.' . $key); - - if ($value == NULL) { - return $default_value; - } - return $value; - } - - /** - * {@inheritdoc} - */ - public function set($key, $value) { - $this->config->set('settings.' . $key, $value); - $this->config->save(); - return $this; - } - - /** - * {@inheritdoc} - */ - public function buildForm() { - return []; - } - - /** - * {@inheritdoc} - */ - public function validateForm(array &$form, array $values) { - // Validation is optional. - } - - /** - * {@inheritdoc} - */ - public function submitForm(array &$form, array $values) { - // Handle submission. - } - -}