1
0
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:
Cameron
2021-01-20 13:12:48 -08:00
parent fb5f9db62e
commit 2c88c8a1fe

View File

@@ -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)