Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7136d5d5 authored by Pierre-Alain Bandinelli's avatar Pierre-Alain Bandinelli
Browse files

Fixing bug calling deprecated nextcloud API

parent f24115c3
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -10,6 +10,5 @@

$app = new OCA\RainLoop\AppInfo\Application();
$app->registerNavigation();
$app->registerPersonalSettings();
$app->getContainer()->query('RainLoopHelper')->registerHooks();
+3 −3
Original line number Diff line number Diff line
<?xml version="1.0"?>
<info xmlns:xsi= "http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="https://apps.nextcloud.com/schema/apps/info.xsd">
	<id>rainloop</id>
	<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.16.0 (2021-05).</description>
	<name>RainLoop (deprecated, consider Snappymail)</name>
	<summary>RainLoop Webmail (deprecated, consider Snappymail)</summary>
	<description>Rainloop is not maintained anymore. Consider a switch to Snappymail which is an actively-maintained fork of Rainloop. 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.16.0 (2021-05).</description>
	<version>7.2.5</version>
	<licence>agpl</licence>
	<author>RainLoop Team, Nextgen-Networks, Tab Fitts, Nathan Kinkade, Pierre-Alain Bandinelli</author>
+1 −6
Original line number Diff line number Diff line
@@ -79,9 +79,4 @@ class Application extends App {
		});
	}

	public function registerPersonalSettings() {
		\OCP\App::registerPersonal('rainloop', 'templates/personal');
}
 No newline at end of file

}
+12 −2
Original line number Diff line number Diff line
@@ -3,8 +3,10 @@ namespace OCA\RainLoop\Settings;

use OCP\AppFramework\Http\TemplateResponse;
use OCP\IConfig;
use OCP\Settings\ISettings;

class PersonalSettings {
class PersonalSettings implements ISettings
{
	private $config;

	public function __construct(IConfig $config) {
@@ -28,5 +30,13 @@ class PersonalSettings {
		return new TemplateResponse('rainloop', 'personal_settings', $parameters, '');
	}

	public function getSection() {
		return 'additional';
	}


	public function getPriority() {
		return 50;
	}

}