mirror of
https://github.com/e107inc/e107.git
synced 2025-08-02 12:48:26 +02:00
Enable truncate again. ;-/
This commit is contained in:
@@ -117,7 +117,7 @@
|
|||||||
);
|
);
|
||||||
|
|
||||||
// clear the table.
|
// clear the table.
|
||||||
/*
|
|
||||||
$sql = e107::getDb();
|
$sql = e107::getDb();
|
||||||
$fieldCount = (int) $sql->count('user_extended_struct');
|
$fieldCount = (int) $sql->count('user_extended_struct');
|
||||||
|
|
||||||
@@ -127,7 +127,7 @@
|
|||||||
$sql->truncate('user_extended_struct');
|
$sql->truncate('user_extended_struct');
|
||||||
$this->ue->init(); // reload the extended fields from db.
|
$this->ue->init(); // reload the extended fields from db.
|
||||||
}
|
}
|
||||||
*/
|
|
||||||
|
|
||||||
// Add a field of each type.
|
// Add a field of each type.
|
||||||
foreach($this->structTypes as $k=> $v)
|
foreach($this->structTypes as $k=> $v)
|
||||||
|
Reference in New Issue
Block a user