]> git.mxchange.org Git - friendica-addons.git/commitdiff
Merge pull request #803 from nupplaphil/config_refact
authorHypolite Petovan <hypolite@mrpetovan.com>
Wed, 6 Feb 2019 15:52:02 +0000 (10:52 -0500)
committerGitHub <noreply@github.com>
Wed, 6 Feb 2019 15:52:02 +0000 (10:52 -0500)
Config Refactoring

1  2 
advancedcontentfilter/advancedcontentfilter.php
impressum/impressum.php
public_server/public_server.php
pumpio/pumpio.php
testdrive/testdrive.php
twitter/twitter.php

index a22436cabe1a04a4bed0f37889ea14339ad92081,8602613044b2502a760a7ac090aaa01320960aac..dbbfb2e2ec67747137fb65e376b7406fb901f945
@@@ -52,9 -52,13 +52,9 @@@ use Psr\Http\Message\ResponseInterface
  use Psr\Http\Message\ServerRequestInterface;
  use Symfony\Component\ExpressionLanguage;
  
 -require_once 'boot.php';
 -require_once 'include/conversation.php';
 -require_once 'include/dba.php';
 -
  require_once __DIR__ . DIRECTORY_SEPARATOR . 'vendor' . DIRECTORY_SEPARATOR . 'autoload.php';
  
- function advancedcontentfilter_install()
+ function advancedcontentfilter_install(App $a)
  {
        Hook::register('dbstructure_definition'     , __FILE__, 'advancedcontentfilter_dbstructure_definition');
        Hook::register('prepare_body_content_filter', __FILE__, 'advancedcontentfilter_prepare_body_content_filter');
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge