summaryrefslogtreecommitdiff
path: root/lib/lib_opml.php
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2014-02-11 15:30:52 +0100
committerGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2014-02-11 15:30:52 +0100
commit18403d9720c7b3d26881bb6291bf6eb2a9df05d9 (patch)
tree69ad948821cde78d1edfd7f654940370bd63f529 /lib/lib_opml.php
parentcd8e245523b54b19004ff3202f0fe412e70f130b (diff)
SQL : Supprime c.color
Implémente décision https://github.com/marienfressinaud/FreshRSS/issues/295 Install.php pourrait peut-être être mis à jour pour supprimer automatiquement la colonne, mais ce n'est pas fait dans ce patch.
Diffstat (limited to 'lib/lib_opml.php')
-rw-r--r--lib/lib_opml.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/lib_opml.php b/lib/lib_opml.php
index 1b5517d7f..9feb12ae0 100644
--- a/lib/lib_opml.php
+++ b/lib/lib_opml.php
@@ -61,8 +61,7 @@ function opml_import ($xml) {
if ($cat === false) {
$cat = new FreshRSS_Category ($title);
$values = array (
- 'name' => $cat->name (),
- 'color' => $cat->color ()
+ 'name' => $cat->name ()
);
$cat->_id ($catDAO->addCategory ($values));
}