Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/gallery.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlivier Paroz <github@oparoz.com>2015-01-18 05:03:35 +0300
committerOlivier Paroz <github@oparoz.com>2015-01-18 05:03:35 +0300
commitaa176a85154a66898139a4daee7181913e1d501b (patch)
tree08cbfa98391b2c22cf2ecc9dc42e33bb4b193747 /environment
parentee5c0a94cb1571f5675fd9caf8a7ca0a77927d20 (diff)
Minor fixes and cleanup
Diffstat (limited to 'environment')
-rw-r--r--environment/environment.php2
-rw-r--r--environment/notfoundenvexception.php10
2 files changed, 2 insertions, 10 deletions
diff --git a/environment/environment.php b/environment/environment.php
index 480b9076..f4df3324 100644
--- a/environment/environment.php
+++ b/environment/environment.php
@@ -189,7 +189,7 @@ class Environment {
*
* @return string
*/
- public function getUserID() {
+ public function getUserId() {
return $this->userId;
}
diff --git a/environment/notfoundenvexception.php b/environment/notfoundenvexception.php
index 9589fa9a..991c1447 100644
--- a/environment/notfoundenvexception.php
+++ b/environment/notfoundenvexception.php
@@ -15,12 +15,4 @@ namespace OCA\GalleryPlus\Environment;
/**
* Thrown when the service cannot reply to a request
*/
-class NotFoundEnvException extends EnvironmentException {
-
- /**
- * Constructor
- *
- * @param string $msg the message contained in the exception
- */
- public function __construct($msg) {}
-} \ No newline at end of file
+class NotFoundEnvException extends EnvironmentException {} \ No newline at end of file