mirror of
https://github.com/friendica/friendica
synced 2025-04-28 01:10:12 +00:00
Merge pull request #6315 from MrPetovan/bug/6309-add-fulltext-index-profile
Rework mod/match and mod/msearch
This commit is contained in:
commit
94eca77041
131 changed files with 508 additions and 762 deletions
|
@ -12,8 +12,6 @@ use Friendica\App;
|
|||
use Friendica\BaseObject;
|
||||
use Friendica\Core\Config;
|
||||
|
||||
require_once 'include/dba.php';
|
||||
|
||||
/**
|
||||
* @brief Arbitrary system configuration storage
|
||||
*
|
||||
|
|
|
@ -4,8 +4,6 @@ namespace Friendica\Core\Config;
|
|||
use Friendica\BaseObject;
|
||||
use Friendica\Database\DBA;
|
||||
|
||||
require_once 'include/dba.php';
|
||||
|
||||
/**
|
||||
* JustInTime Configuration Adapter
|
||||
*
|
||||
|
|
|
@ -4,8 +4,6 @@ namespace Friendica\Core\Config;
|
|||
use Friendica\BaseObject;
|
||||
use Friendica\Database\DBA;
|
||||
|
||||
require_once 'include/dba.php';
|
||||
|
||||
/**
|
||||
* JustInTime User Configuration Adapter
|
||||
*
|
||||
|
|
|
@ -6,8 +6,6 @@ use Exception;
|
|||
use Friendica\BaseObject;
|
||||
use Friendica\Database\DBA;
|
||||
|
||||
require_once 'include/dba.php';
|
||||
|
||||
/**
|
||||
* Preload Configuration Adapter
|
||||
*
|
||||
|
|
|
@ -6,8 +6,6 @@ use Exception;
|
|||
use Friendica\BaseObject;
|
||||
use Friendica\Database\DBA;
|
||||
|
||||
require_once 'include/dba.php';
|
||||
|
||||
/**
|
||||
* Preload User Configuration Adapter
|
||||
*
|
||||
|
|
|
@ -11,8 +11,6 @@ use Friendica\Database\DBA;
|
|||
use Friendica\Database\DBStructure;
|
||||
use RuntimeException;
|
||||
|
||||
require_once 'include/dba.php';
|
||||
|
||||
class AutomaticInstallation extends Console
|
||||
{
|
||||
protected function getHelp()
|
||||
|
|
|
@ -8,9 +8,6 @@ use Friendica\Database\DBA;
|
|||
use Friendica\Database\DBStructure;
|
||||
use RuntimeException;
|
||||
|
||||
require_once 'boot.php';
|
||||
require_once 'include/dba.php';
|
||||
|
||||
/**
|
||||
* @brief Performs database updates from the command line
|
||||
*
|
||||
|
|
|
@ -8,8 +8,6 @@ use Friendica\Network\Probe;
|
|||
use Friendica\Util\Strings;
|
||||
use RuntimeException;
|
||||
|
||||
require_once 'include/text.php';
|
||||
|
||||
/**
|
||||
* @brief tool to silence accounts on the global community page
|
||||
*
|
||||
|
|
|
@ -4,9 +4,6 @@ namespace Friendica\Core\Console;
|
|||
|
||||
use Friendica\Core;
|
||||
|
||||
require_once 'boot.php';
|
||||
require_once 'include/dba.php';
|
||||
|
||||
/**
|
||||
* @brief Sets maintenance mode for this node
|
||||
*
|
||||
|
|
|
@ -585,7 +585,6 @@ class Installer
|
|||
*/
|
||||
public function checkDB($dbhost, $dbuser, $dbpass, $dbdata)
|
||||
{
|
||||
require_once 'include/dba.php';
|
||||
if (!DBA::connect($dbhost, $dbuser, $dbpass, $dbdata)) {
|
||||
$this->addCheck(L10n::t('Could not connect to database.'), false, true, '');
|
||||
|
||||
|
|
|
@ -10,9 +10,6 @@ use Friendica\Core\Addon;
|
|||
use Friendica\Core\Logger;
|
||||
use Friendica\Core\System;
|
||||
|
||||
require_once 'boot.php';
|
||||
require_once 'include/dba.php';
|
||||
|
||||
/**
|
||||
* Provide Language, Translation, and Localization functions to the application
|
||||
* Localization can be referred to by the numeronym L10N (as in: "L", followed by ten more letters, and then "N").
|
||||
|
|
|
@ -19,8 +19,6 @@ use Friendica\Util\Proxy as ProxyUtils;
|
|||
use Friendica\Util\Temporal;
|
||||
use Friendica\Util\XML;
|
||||
|
||||
require_once 'include/dba.php';
|
||||
|
||||
/**
|
||||
* @brief Methods for read and write notifications from/to database
|
||||
* or for formatting notifications
|
||||
|
|
|
@ -11,8 +11,6 @@ namespace Friendica\Core;
|
|||
use Friendica\App;
|
||||
use Friendica\BaseObject;
|
||||
|
||||
require_once 'include/dba.php';
|
||||
|
||||
/**
|
||||
* @brief Management of user configuration storage
|
||||
* Note:
|
||||
|
|
|
@ -8,9 +8,6 @@ use Friendica\Core\Logger;
|
|||
use Friendica\Core\Session;
|
||||
use SessionHandlerInterface;
|
||||
|
||||
require_once 'boot.php';
|
||||
require_once 'include/text.php';
|
||||
|
||||
/**
|
||||
* SessionHandler using Friendica Cache
|
||||
*
|
||||
|
|
|
@ -8,10 +8,6 @@ use Friendica\Core\Session;
|
|||
use Friendica\Database\DBA;
|
||||
use SessionHandlerInterface;
|
||||
|
||||
require_once 'boot.php';
|
||||
require_once 'include/dba.php';
|
||||
require_once 'include/text.php';
|
||||
|
||||
/**
|
||||
* SessionHandler using database
|
||||
*
|
||||
|
|
|
@ -9,8 +9,6 @@ namespace Friendica\Core;
|
|||
use Friendica\Core\Logger;
|
||||
use Friendica\Core\System;
|
||||
|
||||
require_once 'boot.php';
|
||||
|
||||
/**
|
||||
* Some functions to handle themes
|
||||
*/
|
||||
|
|
|
@ -13,8 +13,6 @@ use Friendica\Model\Photo;
|
|||
use Friendica\Object\Image;
|
||||
use Friendica\Util\Strings;
|
||||
|
||||
require_once "include/dba.php";
|
||||
|
||||
/**
|
||||
* @brief UserImport class
|
||||
*/
|
||||
|
|
|
@ -11,8 +11,6 @@ use Friendica\Model\Process;
|
|||
use Friendica\Util\DateTimeFormat;
|
||||
use Friendica\Util\Network;
|
||||
|
||||
require_once 'include/dba.php';
|
||||
|
||||
/**
|
||||
* @file src/Core/Worker.php
|
||||
*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue