mirror of
https://git.sekbaer.de/Friendica/friendica.git
synced 2025-06-12 01:54:26 +02:00
Issue-#3873
Replace deprecated functions with new syntax.
This commit is contained in:
parent
9eb1f4b9c3
commit
0dfa57948f
124 changed files with 819 additions and 679 deletions
|
@ -7,6 +7,7 @@
|
|||
*/
|
||||
|
||||
use Friendica\App;
|
||||
use Friendica\Core\Config;
|
||||
|
||||
require_once('include/items.php');
|
||||
require_once('include/dfrn.php');
|
||||
|
@ -138,7 +139,7 @@ function dfrn_notify_post(App $a) {
|
|||
xml_status(0, 'relationship dissolved');
|
||||
}
|
||||
|
||||
$rino = get_config('system', 'rino_encrypt');
|
||||
$rino = Config::get('system', 'rino_encrypt');
|
||||
$rino = intval($rino);
|
||||
|
||||
logger("Local rino version: " . $rino, LOGGER_DEBUG);
|
||||
|
@ -312,7 +313,7 @@ function dfrn_notify_content(App $a) {
|
|||
$encrypted_id = bin2hex($encrypted_id);
|
||||
|
||||
|
||||
$rino = get_config('system', 'rino_encrypt');
|
||||
$rino = Config::get('system', 'rino_encrypt');
|
||||
$rino = intval($rino);
|
||||
|
||||
logger("Local rino version: ". $rino, LOGGER_DEBUG);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue