From 5bf66662a9bdd62c5bccab15e607cd95cfb8fcab Mon Sep 17 00:00:00 2001 From: Charles Cabergs Date: Mon, 27 Jul 2020 10:05:23 +0200 Subject: Removed wordpress and phpmyadmin, my server doesn't handle it well and it brings shame on my familly --- .../libraries/classes/Charsets/Charset.php | 103 --------------------- 1 file changed, 103 deletions(-) delete mode 100644 srcs/phpmyadmin/libraries/classes/Charsets/Charset.php (limited to 'srcs/phpmyadmin/libraries/classes/Charsets/Charset.php') diff --git a/srcs/phpmyadmin/libraries/classes/Charsets/Charset.php b/srcs/phpmyadmin/libraries/classes/Charsets/Charset.php deleted file mode 100644 index 0b25790..0000000 --- a/srcs/phpmyadmin/libraries/classes/Charsets/Charset.php +++ /dev/null @@ -1,103 +0,0 @@ -name = $name; - $this->description = $description; - $this->defaultCollation = $defaultCollation; - $this->maxLength = $maxLength; - } - - /** - * @param array $state State obtained from the database server - * @return Charset - */ - public static function fromServer(array $state): self - { - return new self( - $state['Charset'] ?? '', - $state['Description'] ?? '', - $state['Default collation'] ?? '', - (int) ($state['Maxlen'] ?? 0) - ); - } - - /** - * @return string - */ - public function getName(): string - { - return $this->name; - } - - /** - * @return string - */ - public function getDescription(): string - { - return $this->description; - } - - /** - * @return string - */ - public function getDefaultCollation(): string - { - return $this->defaultCollation; - } - - /** - * @return int - */ - public function getMaxLength(): int - { - return $this->maxLength; - } -} -- cgit