db_escape_string doesn't exist any more, replaced with the original addslashes

Signed-off-by: emanuele <emanuele45@gmail.com>
A bit of deprecation

Signed-off-by: emanuele <emanuele45@gmail.com>
Sorry, but a fake compatibiity is worse than not having it

Signed-off-by: emanuele <emanuele45@gmail.com>
SSI is beta2 too

Signed-off-by: emanuele <emanuele45@gmail.com>
Merge pull request #1358 from emanuele45/compat

Compat
! missed a few var calls, ';''s etc, minor stuff from hint

Signed-off-by: Spuds <spuds@spudsdesign.com>
! start of type hinting for the array params

Signed-off-by: Spuds <spuds@spudsdesign.com>
! more param array type hinting
! removal of dead vars inits

Signed-off-by: Spuds <spuds@spudsdesign.com>
! continuation of the param types are consistent with calls etc

Signed-off-by: Spuds <spuds@spudsdesign.com>
! more proper type hinting

Signed-off-by: Spuds <spuds@spudsdesign.com>
! continuation of type hinting where required
! fix any dead assignments

Signed-off-by: Spuds <spuds@spudsdesign.com>
! next batch of type hinting etc

Signed-off-by: Spuds <spuds@spudsdesign.com>
! moar in this fun recursive game !

Signed-off-by: Spuds <spuds@spudsdesign.com>
! more of the same

Signed-off-by: Spuds <spuds@spudsdesign.com>
! Start of admin controllers

Signed-off-by: Spuds <spuds@spudsdesign.com>
! And so on :P

Signed-off-by: Spuds <spuds@spudsdesign.com>
! return doc fix

Signed-off-by: Spuds <spuds@spudsdesign.com>
Scrutinizer Auto-Fixes

This patch was automatically generated as part of the following inspection:
https://scrutinizer-ci.com/g/Spuds/Elkarte/inspections/13ef6cab-e47c-4061-b7d6-80a05ce4d5b3

Enabled analysis tools:
 - PHP Analyzer
 - JSHint
 - Security Advisory Checker
 - PHP Copy/Paste Detector
! fix some return statements

Signed-off-by: Spuds <spuds@spudsdesign.com>
! and onward !!!!

Signed-off-by: Spuds <spuds@spudsdesign.com>