diff --git a/components/com_contact/models/category.php b/components/com_contact/models/category.php index e6d387bbbfbe3..b8e565cac7d65 100644 --- a/components/com_contact/models/category.php +++ b/components/com_contact/models/category.php @@ -436,7 +436,6 @@ public function hit($pk = 0) $pk = (!empty($pk)) ? $pk : (int) $this->getState('category.id'); $table = JTable::getInstance('Category', 'JTable'); - $table->load($pk); $table->hit($pk); } diff --git a/components/com_contact/models/contact.php b/components/com_contact/models/contact.php index bb2e8be985d51..1b0255c181236 100644 --- a/components/com_contact/models/contact.php +++ b/components/com_contact/models/contact.php @@ -626,7 +626,6 @@ public function hit($pk = 0) $pk = (!empty($pk)) ? $pk : (int) $this->getState('contact.id'); $table = JTable::getInstance('Contact', 'ContactTable'); - $table->load($pk); $table->hit($pk); } diff --git a/components/com_content/models/article.php b/components/com_content/models/article.php index 5c30c04e0f371..c2865eeea1fcd 100644 --- a/components/com_content/models/article.php +++ b/components/com_content/models/article.php @@ -251,7 +251,6 @@ public function hit($pk = 0) $pk = (!empty($pk)) ? $pk : (int) $this->getState('article.id'); $table = JTable::getInstance('Content', 'JTable'); - $table->load($pk); $table->hit($pk); } diff --git a/components/com_content/models/category.php b/components/com_content/models/category.php index 53e191bb2d298..e660c65e48b4f 100644 --- a/components/com_content/models/category.php +++ b/components/com_content/models/category.php @@ -486,7 +486,6 @@ public function hit($pk = 0) $pk = (!empty($pk)) ? $pk : (int) $this->getState('category.id'); $table = JTable::getInstance('Category', 'JTable'); - $table->load($pk); $table->hit($pk); } diff --git a/components/com_newsfeeds/models/category.php b/components/com_newsfeeds/models/category.php index 1d486d8d6b832..89f9d3fa2678e 100644 --- a/components/com_newsfeeds/models/category.php +++ b/components/com_newsfeeds/models/category.php @@ -369,7 +369,6 @@ public function hit($pk = 0) { $pk = (!empty($pk)) ? $pk : (int) $this->getState('category.id'); $table = JTable::getInstance('Category', 'JTable'); - $table->load($pk); $table->hit($pk); } diff --git a/components/com_newsfeeds/models/newsfeed.php b/components/com_newsfeeds/models/newsfeed.php index 519672b58cb39..7bb57a563315b 100644 --- a/components/com_newsfeeds/models/newsfeed.php +++ b/components/com_newsfeeds/models/newsfeed.php @@ -185,7 +185,6 @@ public function hit($pk = 0) $pk = (!empty($pk)) ? $pk : (int) $this->getState('newsfeed.id'); $table = JTable::getInstance('Newsfeed', 'NewsfeedsTable'); - $table->load($pk); $table->hit($pk); } diff --git a/components/com_tags/models/tag.php b/components/com_tags/models/tag.php index ba73108de4958..736f02ce14b99 100644 --- a/components/com_tags/models/tag.php +++ b/components/com_tags/models/tag.php @@ -340,7 +340,6 @@ public function hit($pk = 0) { $pk = (!empty($pk)) ? $pk : (int) $this->getState('tag.id'); $table = JTable::getInstance('Tag', 'TagsTable'); - $table->load($pk); $table->hit($pk); if (!$table->hasPrimaryKey())