diff options
author | Andrew Dolgov <[email protected]> | 2021-06-17 11:27:00 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2021-06-17 11:27:00 +0300 |
commit | 4e9c3500fb3390d7eea7d07f22729a259997d521 (patch) | |
tree | 0bcddcc1215b0e03081ac395ad06afe7ca6d7096 /include/functions.php | |
parent | 8ed8a109659bc4a629dd785f21f22e99bb84f289 (diff) |
clarify some @deprecation notices
Diffstat (limited to 'include/functions.php')
-rw-r--r-- | include/functions.php | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/include/functions.php b/include/functions.php index 694b8f398..922d3765c 100644 --- a/include/functions.php +++ b/include/functions.php @@ -162,17 +162,17 @@ /* compat shims */ - /** function is @deprecated */ + /** function is @deprecated by Config::get_version() */ function get_version() { return Config::get_version(); } - /** function is @deprecated */ + /** function is @deprecated by Config::get_schema_version() */ function get_schema_version() { return Config::get_schema_version(); } - /** function is @deprecated */ + /** function is @deprecated by Debug::log() */ function _debug($msg) { Debug::log($msg); } @@ -182,37 +182,37 @@ return Feeds::_get_counters($feed, $is_cat, true, $_SESSION["uid"]); } - /** function is @deprecated */ + /** function is @deprecated by Sanitizer::sanitize() */ function sanitize($str, $force_remove_images = false, $owner = false, $site_url = false, $highlight_words = false, $article_id = false) { return Sanitizer::sanitize($str, $force_remove_images, $owner, $site_url, $highlight_words, $article_id); } - /** function is @deprecated */ + /** function is @deprecated by UrlHelper::fetch() */ function fetch_file_contents($params) { return UrlHelper::fetch($params); } - /** function is @deprecated */ + /** function is @deprecated by UrlHelper::rewrite_relative() */ function rewrite_relative_url($base_url, $rel_url) { return UrlHelper::rewrite_relative($base_url, $rel_url); } - /** function is @deprecated */ + /** function is @deprecated by UrlHelper::validate() */ function validate_url($url) { return UrlHelper::validate($url); } - /** function is @deprecated */ + /** function is @deprecated by UserHelper::authenticate() */ function authenticate_user($login, $password, $check_only = false, $service = false) { return UserHelper::authenticate($login, $password, $check_only, $service); } - /** function is @deprecated */ + /** function is @deprecated by TimeHelper::smart_date_time() */ function smart_date_time($timestamp, $tz_offset = 0, $owner_uid = false, $eta_min = false) { return TimeHelper::smart_date_time($timestamp, $tz_offset, $owner_uid, $eta_min); } - /** function is @deprecated */ + /** function is @deprecated by TimeHelper::make_local_datetime() */ function make_local_datetime($timestamp, $long, $owner_uid = false, $no_smart_dt = false, $eta_min = false) { return TimeHelper::make_local_datetime($timestamp, $long, $owner_uid, $no_smart_dt, $eta_min); } |