diff options
Diffstat (limited to 'h-source/Application/Models/WebcamsModel.php')
-rw-r--r-- | h-source/Application/Models/WebcamsModel.php | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/h-source/Application/Models/WebcamsModel.php b/h-source/Application/Models/WebcamsModel.php index 2b5ed9b..a59da6e 100644 --- a/h-source/Application/Models/WebcamsModel.php +++ b/h-source/Application/Models/WebcamsModel.php @@ -45,13 +45,8 @@ class WebcamsModel extends GenericModel $this->_popupFunctions = array( 'vendor' => 'betterVendor', ); - - $this->_popupWhere = array( - 'vendor' => 'type="webcam" and deleted="no"', - 'comm_year' => 'type="webcam" and deleted="no"', - 'webcam_works' => 'type="webcam" and deleted="no"', - 'interface' => 'type="webcam" and deleted="no"', - ); + + $this->createPopupWhere('vendor,webcam_works,comm_year,interface'); $this->diffFields = array( 'vendor' => gtext("vendor"), |