Uploaded image for project: 'phpBB'
  1. phpBB
  2. PHPBB-8867

Automatic Updater doesn't recognize updated functions.php

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Blocker Blocker
    • 3.0.7
    • 3.0.6
    • Update system
    • None
    • PHP Environment: 5.2.10
      Database: 5.0.67-community-log

      The automatic updater doesn't recognize the already updated functions.php and tries to add the following code over and over again:

          $forum_id = request_var('f', 0);    $topic_id = request_var('t', 0);    $s_feed_news = false;    // Get option for news    if ($config['feed_enable'])    {        $sql = 'SELECT forum_id            FROM ' . FORUMS_TABLE . '            WHERE ' . $db->sql_bit_and('forum_options', FORUM_OPTION_FEED_NEWS, '<> 0');        $result = $db->sql_query_limit($sql, 1, 0, 600);        $s_feed_news = (int) $db->sql_fetchfield('forum_id');        $db->sql_freeresult($result);    }    // Determine board url - we may need it later    $board_url = generate_board_url() . '/';    $web_path = (defined('PHPBB_USE_BOARD_URL_PATH') && PHPBB_USE_BOARD_URL_PATH) ? $board_url : $phpbb_root_path; 

      It doesn't even care if I tell it to use the old file.

            naderman Nils Adermann
            marc1706 marc1706
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: