hotline #104766 add tools to reset thumbnails for a specific doc type
2 unresolved threads
2 unresolved threads
Merge request reports
Activity
Filter activity
added 1 commit
- 1585e293 - hotline #104766 add tools to reset thumbnails for a specific doc type
23 23 24 24 public function getPlugins() { 25 25 return ['ZendAfi_Controller_Plugin_ResourceDefinition_DocType', 26 'ZendAfi_Controller_Plugin_Manager_Manager']; 26 'ZendAfi_Controller_Plugin_Manager_DocType']; 27 } 28 29 30 public function resetThumbnailsAction() { 31 $id = $this->_getParam('id'); 32 if (!$type_doc = Class_TypeDoc::find($id)) { 33 $this->_helper->notify($this->_('Type de document %s inconnu', changed this line in version 3 of the diff
25 25 return ['ZendAfi_Controller_Plugin_ResourceDefinition_DocType', 26 'ZendAfi_Controller_Plugin_Manager_Manager']; 26 'ZendAfi_Controller_Plugin_Manager_DocType']; 27 } 28 29 30 public function resetThumbnailsAction() { 31 $id = $this->_getParam('id'); 32 if (!$type_doc = Class_TypeDoc::find($id)) { 33 $this->_helper->notify($this->_('Type de document %s inconnu', 34 $id)); 35 return $this->_redirect('/admin/type-docs'); 36 } 37 38 39 Zend_Registry::get('sql')->execute("update notices set url_vignette='', url_image='' where type_doc='" . $id . "'"); changed this line in version 3 of the diff
added 1 commit
- 03b04ff0 - hotline #104766 add tools to reset thumbnails for a specific doc type
mentioned in commit ff7a3355