Add new expected abstract method to Web\BaseController

- Cleanup obsolete use statements
stable
Hypolite Petovan 4 years ago
parent 9f80a14565
commit 8c1d4404c7
  1. 5
      README.md
  2. 2
      src/classes/Controllers/Web/BaseController.php
  3. 3
      src/classes/Controllers/Web/Search.php
  4. 5
      src/classes/Controllers/Web/Statistics.php

@ -25,6 +25,11 @@ Please refer to the provided [installation instructions](INSTALL.md).
Please refer to the provided [update instructions](UPDATE.md).
## Custom pages
If you need to add custom HTML pages as required by law to publish any website processing data in some countries, simply add your HTML files in the `config/pages` folder, they will be automatically linked from the footer.
The expected extension is `.html`.
## See also
- [Project Concepts](docs/Concepts.md)

@ -5,5 +5,5 @@ namespace Friendica\Directory\Controllers\Web;
abstract class BaseController
{
abstract function render(\Slim\Http\Request $request, \Slim\Http\Response $response, array $args): array;
}

@ -3,9 +3,6 @@
namespace Friendica\Directory\Controllers\Web;
use \Friendica\Directory\Content\Pager;
use PDO;
use Psr\Http\Message\ResponseInterface;
use Psr\Http\Message\ServerRequestInterface;
/**
* @author Hypolite Petovan <mrpetovan@gmail.com>

@ -2,11 +2,6 @@
namespace Friendica\Directory\Controllers\Web;
use \Friendica\Directory\Content\Pager;
use PDO;
use Psr\Http\Message\ResponseInterface;
use Psr\Http\Message\ServerRequestInterface;
/**
* @author Hypolite Petovan <mrpetovan@gmail.com>
*/

Loading…
Cancel
Save