initial import

This commit is contained in:
Alchemy
2011-02-16 16:09:48 +01:00
parent 399a584b6f
commit 339d23c06d
5539 changed files with 2028637 additions and 1 deletions

View File

@@ -0,0 +1,33 @@
<?php
class patch_311 implements patch
{
private $release = '3.1.1';
private $concern = array('data_box');
function get_release()
{
return $this->release;
}
function concern()
{
return $this->concern;
}
function apply($id)
{
$connbas = connection::getInstance($id);
if (!$connbas || !$connbas->isok())
return false;
$sql = 'UPDATE record SET jeton=' . (JETON_WRITE_META_DOC | JETON_WRITE_META_SUBDEF) . '';
$connbas->query($sql);
return true;
}
}