diff options
Diffstat (limited to '')
-rw-r--r-- | include/functions_user.inc.php | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/include/functions_user.inc.php b/include/functions_user.inc.php index 9c25ed1d4..f0006a55e 100644 --- a/include/functions_user.inc.php +++ b/include/functions_user.inc.php @@ -806,29 +806,6 @@ SELECT } } -/** - * search an available feed_id - * - * @return string feed identifier - */ -function find_available_feed_id() -{ - while (true) - { - $key = generate_key(50); - $query = ' -SELECT COUNT(*) - FROM '.USER_FEED_TABLE.' - WHERE id = \''.$key.'\' -;'; - list($count) = pwg_db_fetch_row(pwg_query($query)); - if (0 == $count) - { - return $key; - } - } -} - /* * Returns a array with default user value * |