diff --git a/apps/files_versions/ajax/preview.php b/apps/files_versions/ajax/preview.php index 6fd374711c..62bcc03f52 100644 --- a/apps/files_versions/ajax/preview.php +++ b/apps/files_versions/ajax/preview.php @@ -6,7 +6,7 @@ * See the COPYING-README file. */ \OC_Util::checkLoggedIn(); -error_log("get preview!"); + if(!\OC_App::isEnabled('files_versions')){ exit; }