summaryrefslogtreecommitdiffstats
path: root/apps/files_versions/appinfo/app.php
blob: 49f1573f7c2ae97e273cdcf81a3487d6f0b588ec (plain)
1
2
3
4
5
6
7
8
9
<?php

require_once('apps/files_versions/versions.php');

OCP\App::registerAdmin('files_versions', 'settings');
OCP\Util::addscript('files_versions', 'versions');

// Listen to write signals
OCP\Util::connectHook(OC_Filesystem::CLASSNAME, OC_Filesystem::signal_post_write, "OCA_Versions\Storage", "write_hook");