mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-20 22:41:28 +00:00
add ability to auto-assign articles to labels (bump schema)
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
define('EXPECTED_CONFIG_VERSION', 26);
|
||||
define('SCHEMA_VERSION', 97);
|
||||
define('SCHEMA_VERSION', 98);
|
||||
|
||||
$fetch_last_error = false;
|
||||
|
||||
@@ -3923,6 +3923,18 @@
|
||||
}
|
||||
}
|
||||
|
||||
function get_all_labels($link, $owner_uid) {
|
||||
$rv = array();
|
||||
|
||||
$result = db_query($link, "SELECT fg_color, bg_color, caption FROM ttrss_labels2 WHERE owner_uid = " . $owner_uid);
|
||||
|
||||
while ($line = db_fetch_assoc($result)) {
|
||||
array_push($rv, $line);
|
||||
}
|
||||
|
||||
return $rv;
|
||||
}
|
||||
|
||||
function label_update_cache($link, $id, $labels = false, $force = false) {
|
||||
|
||||
if ($force)
|
||||
|
||||
Reference in New Issue
Block a user