mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-22 14:23:57 -07:00
r438
Отменяем действие r431 за ненадобностью данного кода в целом. Запятая. git-svn-id: https://torrentpier2.googlecode.com/svn/trunk@438 a8ac35ab-4ca4-ca47-4c2d-a49a94f06293
This commit is contained in:
parent
23397268a0
commit
a25d5a954d
3 changed files with 3 additions and 7 deletions
|
@ -56,8 +56,8 @@ $domain_name = (!empty($_SERVER['SERVER_NAME'])) ? $_SERVER['SERVER_NAME'] : $do
|
|||
|
||||
// Increase number of revision after update
|
||||
$bb_cfg['tp_version'] = '2.5 Beta';
|
||||
$bb_cfg['tp_release_state'] = 'R437';
|
||||
$bb_cfg['tp_release_date'] = '01-07-2012';
|
||||
$bb_cfg['tp_release_state'] = 'R438';
|
||||
$bb_cfg['tp_release_date'] = '04-07-2012';
|
||||
|
||||
// Database
|
||||
$charset = 'utf8';
|
||||
|
|
|
@ -126,10 +126,6 @@ function sync ($type, $id)
|
|||
|
||||
DB()->query("DROP TEMPORARY TABLE $tmp_sync_topics");
|
||||
|
||||
// Проверка на остаточные записи об уже удаленных топиках (критично в MySQL 5.5)
|
||||
DB()->query("DELETE FROM ". BB_TOPICS ." WHERE topic_first_post_id NOT IN (SELECT post_id FROM ". BB_POSTS .")");
|
||||
|
||||
|
||||
break;
|
||||
|
||||
case 'user_posts':
|
||||
|
|
|
@ -312,7 +312,7 @@ if (top != self) {
|
|||
allowed_self = /^(translate\.googleusercontent\.com)$/;
|
||||
if (!self.location.hostname.match(allowed_self)) {
|
||||
$(function(){
|
||||
$('body').html('<center><h1><br /><br />Похоже вас пытаются обмануть<br />Сайт '+ self.location.hostname +' открыт во фрейме</h1></center>');
|
||||
$('body').html('<center><h1><br /><br />Похоже, вас пытаются обмануть<br />Сайт '+ self.location.hostname +' открыт во фрейме</h1></center>');
|
||||
});
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue