[-] BO : delete id_theme in Image Type

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@12278 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
lLefevre
2012-01-09 16:04:34 +00:00
parent a9b4c401bb
commit b8f6ff16a6
10 changed files with 80 additions and 74 deletions
-4
View File
@@ -28,9 +28,6 @@
class ImageTypeCore extends ObjectModel
{
public $id;
/** @var string id_theme */
public $id_theme;
/** @var string Name */
public $name;
@@ -66,7 +63,6 @@ class ImageTypeCore extends ObjectModel
'table' => 'image_type',
'primary' => 'id_image_type',
'fields' => array(
'id_theme' => array('type' => self::TYPE_INT, 'validate' => 'isUnsignedId', 'required' => true),
'name' => array('type' => self::TYPE_STRING, 'validate' => 'isImageTypeName', 'required' => true, 'size' => 16),
'width' => array('type' => self::TYPE_INT, 'validate' => 'isImageSize', 'required' => true),
'height' => array('type' => self::TYPE_INT, 'validate' => 'isImageSize', 'required' => true),
+2 -2
View File
@@ -1342,7 +1342,7 @@ abstract class ModuleCore
{
$output = '
<div class="module_error alert error">
<img src="'._PS_IMG_.'admin/warning.gif" alt="" title="" /> '.$error.'
'.$error.'
</div>';
$this->error = true;
return $output;
@@ -1352,7 +1352,7 @@ abstract class ModuleCore
{
$output = '
<div class="module_confirmation conf confirm">
<img src="'._PS_IMG_.'admin/ok.gif" alt="" title="" /> '.$string.'
'.$string.'
</div>';
return $output;
}