mirror of
https://github.com/e107inc/e107.git
synced 2025-08-12 01:25:01 +02:00
User-extended cleanup
This commit is contained in:
@@ -483,7 +483,7 @@ class signup_shortcodes extends e_shortcode
|
||||
// 'unallocated' entries are `user_extended_struct_parent` = 0
|
||||
|
||||
// Get a list of defined categories
|
||||
$catList = $ue->getCategories(FALSE);
|
||||
$catList = $ue->getCategories();
|
||||
// Add in category zero - the 'no category' category
|
||||
array_unshift($catList,array('user_extended_struct_parent' => 0, 'user_extended_struct_id' => '0'));
|
||||
|
||||
|
@@ -764,13 +764,11 @@ class user_shortcodes extends e_shortcode
|
||||
";
|
||||
*/
|
||||
|
||||
require_once(e_HANDLER."user_extended_class.php");
|
||||
|
||||
$ue = new e107_user_extended;
|
||||
$ue = e107::getUserExt();
|
||||
$ueCatList = $ue->user_extended_get_categories();
|
||||
$ueFieldList = $ue->user_extended_get_fields();
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
$ueCatList[0][0] = array('user_extended_struct_name' => LAN_USER_44, 'user_extended_struct_text' => '');
|
||||
|
||||
|
Reference in New Issue
Block a user