diff options
| author | 2014-02-11 15:30:52 +0100 | |
|---|---|---|
| committer | 2014-02-11 15:30:52 +0100 | |
| commit | 18403d9720c7b3d26881bb6291bf6eb2a9df05d9 (patch) | |
| tree | 69ad948821cde78d1edfd7f654940370bd63f529 /lib/lib_opml.php | |
| parent | cd8e245523b54b19004ff3202f0fe412e70f130b (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.php | 3 |
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)); } |
