diff options
-rw-r--r-- | it_url.class | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/it_url.class b/it_url.class index 29429d2..d02939c 100644 --- a/it_url.class +++ b/it_url.class @@ -111,13 +111,8 @@ static function _postprocess($data, $p) * @param $p['postprocess'] function called with content and $p which has it_error. returns content or null * @return Content of resulting page (considering redirects, excluding headers or false on error) or array (empty on error) if 'assoc' => true */ -function get($p = [], $timeout = null) +static function get($p = [], $timeout = null) { - if (isset($this) && $this instanceof it_url) # FIXME 202006 cschneid Compatibility until all application switched to 'assoc' => true or it_ur::get() - { - it::error("Deprecated usage of it_url::get() as object method"); - return $this->_get($p, $timeout); - } return (new static)->_get($p, $timeout); } |