summaryrefslogtreecommitdiffstats
path: root/lib/private/needsupdateexception.php
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2014-07-24 17:16:34 +0200
committerRobin Appelman <icewind@owncloud.com>2014-08-19 14:04:04 +0200
commit9173a661bd433b22cb355f42c7727c22aeaa3c3b (patch)
treec152cd9e9ac510c0e00723ea7b97091cb5140423 /lib/private/needsupdateexception.php
parentc69215c1151814b1ba71d4a2f198231a596b56e0 (diff)
downloadnextcloud-server-9173a661bd433b22cb355f42c7727c22aeaa3c3b.tar.gz
nextcloud-server-9173a661bd433b22cb355f42c7727c22aeaa3c3b.zip
Throw an exception when we try to load an app that needs to be upgraded
Diffstat (limited to 'lib/private/needsupdateexception.php')
-rw-r--r--lib/private/needsupdateexception.php12
1 files changed, 12 insertions, 0 deletions
diff --git a/lib/private/needsupdateexception.php b/lib/private/needsupdateexception.php
new file mode 100644
index 00000000000..bab928dc30f
--- /dev/null
+++ b/lib/private/needsupdateexception.php
@@ -0,0 +1,12 @@
+<?php
+/**
+ * Copyright (c) 2014 Robin Appelman <icewind@owncloud.com>
+ * This file is licensed under the Affero General Public License version 3 or
+ * later.
+ * See the COPYING-README file.
+ */
+
+namespace OC;
+
+class NeedsUpdateException extends ServiceUnavailableException {
+}