diff options
author | Thomas Steur <tsteur@users.noreply.github.com> | 2019-10-10 00:36:19 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-10-10 00:36:19 +0300 |
commit | 42f9f8cbcc350f9cbcd8a085c38f2ae9155c42d3 (patch) | |
tree | a9ddfc6e8a98eea2d92dcd03e34c284ecbd37a27 /plugins/Contents/API.php | |
parent | e5b034d46ff3a793837944c4f6445c694007ce5f (diff) |
Smaller varchar size for log_action.name (#14859)
Diffstat (limited to 'plugins/Contents/API.php')
-rw-r--r-- | plugins/Contents/API.php | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/plugins/Contents/API.php b/plugins/Contents/API.php index 37754b881d..e2a385b35f 100644 --- a/plugins/Contents/API.php +++ b/plugins/Contents/API.php @@ -64,11 +64,6 @@ class API extends \Piwik\Plugin\API if ($row) { $row->setColumn('label', Piwik::translate('General_NotDefined', Piwik::translate('Contents_ContentPiece'))); } - foreach ($table->getRows() as $row) { - if ($row->getMetadata('contentTarget') === Archiver::CONTENT_TARGET_NOT_SET) { - $row->setMetadata('contentTarget', ''); - } - } }); } } |