File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change 99
1010namespace Piwik \Plugins \DisableTracking ;
1111
12- use Exception ;
1312use Piwik \API \Request ;
1413use Piwik \Cache ;
1514use Piwik \Common ;
1615use Piwik \Db ;
1716use Piwik \Piwik ;
1817use Piwik \Plugin ;
1918use Piwik \Log ;
20- use Psr \Log \LoggerInterface ;
2119
2220
2321/**
@@ -103,7 +101,7 @@ public static function isSiteTrackingDisabled($siteId)
103101 siteId = ? AND
104102 deleted_at IS NULL;
105103 ' ;
106- try {
104+ try {
107105 $ state = Db::fetchAll ($ sql , [$ siteId ]);
108106 } catch (\Exception $ ex ) {
109107 Log::error ($ ex ->getMessage ());
@@ -223,7 +221,7 @@ private static function disableSiteTracking($id)
223221 VALUES
224222 (?, NOW())
225223 ' ;
226- try {
224+ try {
227225 Db::query ($ sql , [$ id ]);
228226 } catch (\Exception $ ex ) {
229227 Log::error ($ ex ->getMessage ());
You can’t perform that action at this time.
0 commit comments