1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-12 11:44:08 +02:00

[ticket/15289] Update acp module

PHPBB3-15289
This commit is contained in:
Rubén Calvo
2017-07-27 17:48:58 +02:00
parent ba9f082bf4
commit 737a8f9f7d
10 changed files with 109 additions and 81 deletions

View File

@@ -45,19 +45,14 @@ class storage
$this->storage_name = $storage_name;
}
public function get_id()
{
return $this->storage_name;
}
/**
* Returns storage name
*
* @return string
*/
public function get_name()
{
return strtoupper('STORAGE_' . $this->storage_name . '_NAME');
}
public function get_description()
{
return strtoupper('STORAGE_' . $this->storage_name . '_DESCRIPTION');
return $this->storage_name;
}
/**