mirror of
https://github.com/grocy/grocy.git
synced 2025-09-29 19:12:24 +00:00
Optimized imports
This commit is contained in:
@@ -8,9 +8,6 @@ class ApiKeyService extends BaseService
|
||||
|
||||
const API_KEY_TYPE_SPECIAL_PURPOSE_CALENDAR_ICAL = 'special-purpose-calendar-ical';
|
||||
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function CreateApiKey($keyType = self::API_KEY_TYPE_DEFAULT)
|
||||
{
|
||||
$newApiKey = $this->GenerateApiKey();
|
||||
@@ -67,9 +64,6 @@ class ApiKeyService extends BaseService
|
||||
return null;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return boolean
|
||||
*/
|
||||
public function IsValidApiKey($apiKey, $keyType = self::API_KEY_TYPE_DEFAULT)
|
||||
{
|
||||
if ($apiKey === null || empty($apiKey))
|
||||
|
Reference in New Issue
Block a user