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

github.com/pierre-alain-b/rainloop-nextcloud.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPierre-Alain Bandinelli <pa@bandinelli.net>2020-05-13 16:25:34 +0300
committerPierre-Alain Bandinelli <pa@bandinelli.net>2020-05-13 16:25:34 +0300
commit4af10d1d8d26f6b372b1d6cc6b30731cbf40cd53 (patch)
tree5e3bc7b9cc0f0e778d6201687a3fdde97799abcb
parent867fcb5cca8480440606d21f07590e406dc2c9c7 (diff)
Trying to fix issue with rainloop admin6.1.1
-rwxr-xr-xrainloop/VERSION2
-rwxr-xr-xrainloop/admin.php5
-rw-r--r--rainloop/appinfo/info.xml2
-rwxr-xr-xrainloop/appinfo/version2
4 files changed, 7 insertions, 4 deletions
diff --git a/rainloop/VERSION b/rainloop/VERSION
index dfda3e0..f3b5af3 100755
--- a/rainloop/VERSION
+++ b/rainloop/VERSION
@@ -1 +1 @@
-6.1.0
+6.1.1
diff --git a/rainloop/admin.php b/rainloop/admin.php
index 57cc304..a01f6bc 100755
--- a/rainloop/admin.php
+++ b/rainloop/admin.php
@@ -8,7 +8,10 @@
* Based initially on https://github.com/RainLoop/rainloop-webmail/tree/master/build/owncloud
*/
-OCP\User::checkAdminUser();
+#OCP\User::checkAdminUser();
+if (!OC_User::isAdminUser(OC_User::getUser())) {
+ return;
+}
OCP\Util::addScript('rainloop', 'admin');
diff --git a/rainloop/appinfo/info.xml b/rainloop/appinfo/info.xml
index 15fe343..44724bf 100644
--- a/rainloop/appinfo/info.xml
+++ b/rainloop/appinfo/info.xml
@@ -4,7 +4,7 @@
<name>RainLoop</name>
<summary>RainLoop Webmail</summary>
<description>Simple, modern and fast web-based email client. After enabling in Nextcloud, go to Nextcloud admin panel, "Additionnal settings" and you will see a "Rainloop webmail" section. There, click on the link to go to the Rainloop admin panel. The default user/password is admin/12345. This version is based on Rainloop 1.14.0 (2020-01).</description>
- <version>6.1.0</version>
+ <version>6.1.1</version>
<licence>agpl</licence>
<author>RainLoop Team, Nextgen-Networks, Tab Fitts, Pierre-Alain Bandinelli</author>
<dependencies>
diff --git a/rainloop/appinfo/version b/rainloop/appinfo/version
index dfda3e0..f3b5af3 100755
--- a/rainloop/appinfo/version
+++ b/rainloop/appinfo/version
@@ -1 +1 @@
-6.1.0
+6.1.1