summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--it_url.class3
1 files changed, 3 insertions, 0 deletions
diff --git a/it_url.class b/it_url.class
index ba91922..5d7b4dd 100644
--- a/it_url.class
+++ b/it_url.class
@@ -114,7 +114,10 @@ static function _postprocess($data, $p)
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);
}