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