1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-04 21:57:51 +02:00

Bugtracker #4239 - obsolete pref for RSS feeds deleted

This commit is contained in:
e107steved
2007-12-06 20:23:13 +00:00
parent 63885260d3
commit 24c5e85987
2 changed files with 8 additions and 10 deletions

View File

@@ -11,8 +11,8 @@
| GNU General Public License (http://gnu.org). | GNU General Public License (http://gnu.org).
| |
| $Source: /cvs_backup/e107_0.8/e107_files/def_e107_prefs.php,v $ | $Source: /cvs_backup/e107_0.8/e107_files/def_e107_prefs.php,v $
| $Revision: 1.3 $ | $Revision: 1.4 $
| $Date: 2007-07-18 20:20:20 $ | $Date: 2007-12-06 20:23:07 $
| $Author: e107steved $ | $Author: e107steved $
+----------------------------------------------------------------------------+ +----------------------------------------------------------------------------+
*/ */
@@ -154,13 +154,12 @@ City, State, Country
'comments_icon' => '0', 'comments_icon' => '0',
'nested_comments' => '1', 'nested_comments' => '1',
'allowCommentEdit' => '0', 'allowCommentEdit' => '0',
'rss_feeds' => '1',
'admincss' => 'style.css', 'admincss' => 'style.css',
'developer' => '0', 'developer' => '0',
'download_email' => '0', 'download_email' => '0',
'comments_disabled' => '0', 'comments_disabled' => '0',
'memberlist_access' => '253', 'memberlist_access' => '253',
'check_updates' => '0' 'check_updates' => '1'
); );
?> ?>

View File

@@ -11,8 +11,8 @@
| GNU General Public License (http://gnu.org). | GNU General Public License (http://gnu.org).
| |
| $Source: /cvs_backup/e107_0.8/e107_plugins/rss_menu/e_meta.php,v $ | $Source: /cvs_backup/e107_0.8/e107_plugins/rss_menu/e_meta.php,v $
| $Revision: 1.3 $ | $Revision: 1.4 $
| $Date: 2007-02-11 20:09:19 $ | $Date: 2007-12-06 20:23:13 $
| $Author: e107steved $ | $Author: e107steved $
+----------------------------------------------------------------------------+ +----------------------------------------------------------------------------+
*/ */
@@ -20,9 +20,8 @@ if (!defined('e107_INIT')) { exit; }
global $tp,$PLUGINS_DIRECTORY; global $tp,$PLUGINS_DIRECTORY;
if(isset($pref['rss_feeds']) && $pref['rss_feeds']) if($sql->db_Select("rss", "*", "rss_class='0' AND rss_limit>0 ORDER BY rss_name"))
{ {
if($sql->db_Select("rss", "*", "rss_class='0' AND rss_limit>0 ORDER BY rss_name")){
while($row=$sql->db_Fetch()){ while($row=$sql->db_Fetch()){
//wildcard topic_id's should not be listed //wildcard topic_id's should not be listed
if(strpos($row['rss_url'], "*")===FALSE){ if(strpos($row['rss_url'], "*")===FALSE){
@@ -33,5 +32,5 @@ if(isset($pref['rss_feeds']) && $pref['rss_feeds'])
} }
} }
} }
}
?> ?>