mirror of
https://github.com/nextcloud/passman.git
synced 2024-11-15 04:22:03 +08:00
23 lines
555 B
PHP
23 lines
555 B
PHP
|
<?php
|
||
|
/**
|
||
|
* Nextcloud - passman
|
||
|
*
|
||
|
* This file is licensed under the Affero General Public License version 3 or
|
||
|
* later. See the COPYING file.
|
||
|
*
|
||
|
* @author Sander Brand <brantje@gmail.com>
|
||
|
* @copyright Sander Brand 2016
|
||
|
*/
|
||
|
|
||
|
|
||
|
namespace OCA\Passman\Cron;
|
||
|
use OCA\Passman\Service\CredentialService;
|
||
|
use OCA\Passman\Utility\Utils;
|
||
|
use \OCA\Passman\AppInfo\Application;
|
||
|
class ExpireCredentials {
|
||
|
public static function run() {
|
||
|
$app = new Application();
|
||
|
$container = $app->getContainer();
|
||
|
$container->query('CronService')->expireCredentials();
|
||
|
}
|
||
|
}
|