Skip to content

Commit

Permalink
Merge pull request #795 from mambax7/feature/deprecatedSnoopyMessage
Browse files Browse the repository at this point in the history
Switch from deprecation error to deprecation log.
  • Loading branch information
geekwright committed Mar 22, 2020
2 parents 807eda1 + 962d7db commit 5b01379
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion htdocs/class/snoopy.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ class Snoopy
{
public function __construct()
{
trigger_error('Use of Snoopy in XOOPS is deprecated and has been replaced in core with XoopsHttpGet. Snoopy will be removed in future versions.', E_USER_DEPRECATED);
$GLOBALS['xoopsLogger']->addDeprecated("Use of Snoopy in XOOPS is deprecated and has been replaced in core with XoopsHttpGet. Snoopy will be removed in future versions..");
}

/**** Public variables ****/
Expand Down

0 comments on commit 5b01379

Please sign in to comment.