mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-17 15:03:25 +00:00
Cleanup namepaces, variables uses
This commit is contained in:
@@ -504,12 +504,6 @@ class Bridge_Api
|
||||
return new $classname($registry, $auth);
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* @param appbox $appbox
|
||||
* @param string $name
|
||||
* @return Bridge_Api
|
||||
*/
|
||||
public static function get_by_api_name(Application $app, $name)
|
||||
{
|
||||
$name = strtolower($name);
|
||||
@@ -552,12 +546,6 @@ class Bridge_Api
|
||||
return $results;
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* @param appbox $appbox
|
||||
* @param string $name
|
||||
* @return Bridge_Api
|
||||
*/
|
||||
public static function create(Application $app, $name)
|
||||
{
|
||||
$sql = 'INSERT INTO bridge_apis
|
||||
|
Reference in New Issue
Block a user