Merge pull request #1304 from MrPetovan/task/4090-move-mod-settings

[various] Move mod/settings.php to src/Module
pull/1308/head
Philipp 2022-11-09 20:35:03 +01:00 committed by GitHub
commit 9cee85c4d6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 3 additions and 6 deletions

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 3. Replace the render and staticRenderFns members in advancedcontentfilter.js by the contents of the anonymous() functions
--> -->
<div id="rules"> <div id="rules">
<p><a href="settings/addon">🔙 {{ messages.backtosettings }}</a></p> <p><a href="settings/addons">🔙 {{ messages.backtosettings }}</a></p>
<h1> <h1>
{{ messages.title }} {{ messages.title }}
&nbsp; &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. with a "click to open/close" link, default is closed.
If you click on the 'Not safe for work' addon under 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 extend the list of search terms. The terms must be
seperated by commas. seperated by commas.

View File

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