aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions_admin.php
diff options
context:
space:
mode:
authorMichael Scherer <misc@zarb.org>2011-04-19 12:53:36 +0200
committerMichael Scherer <misc@zarb.org>2011-04-19 12:53:36 +0200
commit1bac695a72e263a4bd71d1d8079e06bb227c1077 (patch)
tree7246e2206346fb635a9bb69fac942ead2d9d80b7 /phpBB/includes/functions_admin.php
parentb85c3b967a7f6fa061439061076695613622960c (diff)
downloadforums-1bac695a72e263a4bd71d1d8079e06bb227c1077.tar
forums-1bac695a72e263a4bd71d1d8079e06bb227c1077.tar.gz
forums-1bac695a72e263a4bd71d1d8079e06bb227c1077.tar.bz2
forums-1bac695a72e263a4bd71d1d8079e06bb227c1077.tar.xz
forums-1bac695a72e263a4bd71d1d8079e06bb227c1077.zip
revert previous commit, as phpbb-seo is incompatible with phpbb license
the commit is still in git, and can be reserected with a branch, but having it on HEAD make forum deployment more difficult
Diffstat (limited to 'phpBB/includes/functions_admin.php')
-rw-r--r--phpBB/includes/functions_admin.php12
1 files changed, 4 insertions, 8 deletions
diff --git a/phpBB/includes/functions_admin.php b/phpBB/includes/functions_admin.php
index 283f1175ad..2aa12adb2e 100644
--- a/phpBB/includes/functions_admin.php
+++ b/phpBB/includes/functions_admin.php
@@ -3298,14 +3298,10 @@ function obtain_latest_version_info($force_update = false, $warn_fail = false, $
{
$errstr = '';
$errno = 0;
- // www.phpBB-SEO.com SEO TOOLKIT BEGIN
- global $config;
- $url = 'www.phpbb-seo.com';
- $dir = (strpos($config['default_lang'], 'fr') !== false ? '/fr' : '/en') . '/updatecheck';
- $info = get_remote_file($url, $dir, ((defined('PHPBB_SEO_QA')) ? 'test_30x.txt' : 'premod_30x.txt'), $errstr, $errno);
- //$info = get_remote_file('version.phpbb.com', '/phpbb',
- // ((defined('PHPBB_QA')) ? '30x_qa.txt' : '30x.txt'), $errstr, $errno);
- // www.phpBB-SEO.com SEO TOOLKIT END
+
+ $info = get_remote_file('version.phpbb.com', '/phpbb',
+ ((defined('PHPBB_QA')) ? '30x_qa.txt' : '30x.txt'), $errstr, $errno);
+
if ($info === false)
{
$cache->destroy('versioncheck');