[various] Move mod/settings.php to src/Module #1304

Merged
MrPetovan merged 1 commit from task/4090-move-mod-settings into develop 2022-11-09 20:35:03 +01:00
4 changed files with 3 additions and 6 deletions
Showing only changes of commit 2643259a93 - Show all commits

File diff suppressed because one or more lines are too long

View file

@ -7,7 +7,7 @@
3. Replace the render and staticRenderFns members in advancedcontentfilter.js by the contents of the anonymous() functions
-->
<div id="rules">
<p><a href="settings/addon">🔙 {{ messages.backtosettings }}</a></p>
<p><a href="settings/addons">🔙 {{ messages.backtosettings }}</a></p>
<h1>
{{ messages.title }}
&nbsp;

View file

@ -7,7 +7,7 @@ Scans the message content for the string 'nsfw'
with a "click to open/close" link, default is closed.
If you click on the 'Not safe for work' addon under
/settings/addon a text field appears, where you can
/settings/addons a text field appears, where you can
extend the list of search terms. The terms must be
seperated by commas.

View file

@ -63,9 +63,6 @@ function pumpio_content(App $a)
return '';
}
require_once 'mod/settings.php';
settings_init($a);
if (isset(DI::args()->getArgv()[1])) {
switch (DI::args()->getArgv()[1]) {
case 'connect':