diff options
Diffstat (limited to 'core/Command/Maintenance/DataFingerprint.php')
-rw-r--r-- | core/Command/Maintenance/DataFingerprint.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/core/Command/Maintenance/DataFingerprint.php b/core/Command/Maintenance/DataFingerprint.php index 18c54819a1d..2bd1b9270bb 100644 --- a/core/Command/Maintenance/DataFingerprint.php +++ b/core/Command/Maintenance/DataFingerprint.php @@ -2,6 +2,7 @@ /** * @copyright Copyright (c) 2016, ownCloud, Inc. * + * @author Joas Schilling <coding@schilljs.com> * @author Roeland Jago Douma <roeland@famdouma.nl> * * @license AGPL-3.0 @@ -19,7 +20,6 @@ * along with this program. If not, see <http://www.gnu.org/licenses/> * */ - namespace OC\Core\Command\Maintenance; use OCP\AppFramework\Utility\ITimeFactory; @@ -48,7 +48,8 @@ class DataFingerprint extends Command { ->setDescription('update the systems data-fingerprint after a backup is restored'); } - protected function execute(InputInterface $input, OutputInterface $output) { + protected function execute(InputInterface $input, OutputInterface $output): int { $this->config->setSystemValue('data-fingerprint', md5($this->timeFactory->getTime())); + return 0; } } |