Removed not used field
This commit is contained in:
parent
2db71cb773
commit
01664a135d
@ -119,14 +119,12 @@ class Bookmark extends CommonObject
|
|||||||
$sql = "INSERT INTO ".MAIN_DB_PREFIX."bookmark (fk_user,dateb,url,target";
|
$sql = "INSERT INTO ".MAIN_DB_PREFIX."bookmark (fk_user,dateb,url,target";
|
||||||
$sql.= ",title,favicon,position";
|
$sql.= ",title,favicon,position";
|
||||||
$sql.= ",entity";
|
$sql.= ",entity";
|
||||||
if ($this->fk_soc) $sql.=",fk_soc";
|
|
||||||
$sql.= ") VALUES (";
|
$sql.= ") VALUES (";
|
||||||
$sql.= ($this->fk_user > 0?"'".$this->fk_user."'":"0").",";
|
$sql.= ($this->fk_user > 0?"'".$this->fk_user."'":"0").",";
|
||||||
$sql.= " '".$this->db->idate($now)."',";
|
$sql.= " '".$this->db->idate($now)."',";
|
||||||
$sql.= " '".$this->url."', '".$this->target."',";
|
$sql.= " '".$this->url."', '".$this->target."',";
|
||||||
$sql.= " '".$this->db->escape($this->title)."', '".$this->favicon."', '".$this->position."'";
|
$sql.= " '".$this->db->escape($this->title)."', '".$this->favicon."', '".$this->position."'";
|
||||||
$sql.= ", '".$conf->entity."'";
|
$sql.= ", '".$conf->entity."'";
|
||||||
if ($this->fk_soc) $sql.=",".$this->fk_soc;
|
|
||||||
$sql.= ")";
|
$sql.= ")";
|
||||||
|
|
||||||
dol_syslog("Bookmark::update", LOG_DEBUG);
|
dol_syslog("Bookmark::update", LOG_DEBUG);
|
||||||
|
|||||||
@ -55,6 +55,7 @@ ALTER TABLE llx_mailing MODIFY COLUMN langs varchar(64);
|
|||||||
ALTER TABLE llx_facture_fourn ADD COLUMN date_pointoftax date DEFAULT NULL;
|
ALTER TABLE llx_facture_fourn ADD COLUMN date_pointoftax date DEFAULT NULL;
|
||||||
ALTER TABLE llx_facture_fourn ADD COLUMN date_valid date;
|
ALTER TABLE llx_facture_fourn ADD COLUMN date_valid date;
|
||||||
|
|
||||||
|
ALTER TABLE llx_bookmark DROP COLUM fk_soc;
|
||||||
|
|
||||||
ALTER TABLE llx_website MODIFY COLUMN ref varchar(128);
|
ALTER TABLE llx_website MODIFY COLUMN ref varchar(128);
|
||||||
|
|
||||||
|
|||||||
@ -19,7 +19,6 @@
|
|||||||
create table llx_bookmark
|
create table llx_bookmark
|
||||||
(
|
(
|
||||||
rowid integer AUTO_INCREMENT PRIMARY KEY,
|
rowid integer AUTO_INCREMENT PRIMARY KEY,
|
||||||
fk_soc integer,
|
|
||||||
fk_user integer NOT NULL,
|
fk_user integer NOT NULL,
|
||||||
dateb datetime,
|
dateb datetime,
|
||||||
url varchar(255) NOT NULL,
|
url varchar(255) NOT NULL,
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user