Skip to content
Snippets Groups Projects
Commit c40f46f2 authored by gloas's avatar gloas
Browse files

rel #8257 remove legacy editor field

parent bd93fbe9
Branches
Tags
No related merge requests found
<?PHP
// Constantes
define("VERSION_COSMOGRAMME","6.42");
define("PATCH_LEVEL","193");
define("VERSION_COSMOGRAMME","6.43");
define("PATCH_LEVEL","194");
define("APPLI","cosmogramme");
define("COSMOPATH", "/var/www/html/vhosts/opac2/www/htdocs");
define("CRLF", chr(13) . chr(10));
......
<?php
$albums = Class_Album::findAllBy(['where' => 'editeur is not null and editeur != ""']);
foreach($albums as $album) {
$album
->addEditor($album->getEditeur())
->save();
}
?>
\ No newline at end of file
......@@ -60,7 +60,6 @@ class ZendAfi_Form_Album extends ZendAfi_Form {
'droits_precision',
'annee',
'cote',
'editeur',
'provenance',
'duration',
'id_langue',
......@@ -155,9 +154,6 @@ class ZendAfi_Form_Album extends ZendAfi_Form {
'size' => 4,
'maxlength' => 4])
->addElement('text', 'editeur', ['label' => 'Editeur',
'size' => 75])
->addElement('text', 'cote', ['label' => 'Cote',
'size' => 20])
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment