1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-13 10:04:35 +02:00

Added support for plugins being able to manage extended user fields on install/uninstall/upgrade

This commit is contained in:
mcfly
2008-11-24 00:36:50 +00:00
parent 43398e68a0
commit 09e27295e9
2 changed files with 74 additions and 12 deletions

View File

@@ -11,9 +11,9 @@
| GNU General Public License (http://gnu.org).
|
| $Source: /cvs_backup/e107_0.8/e107_handlers/user_extended_class.php,v $
| $Revision: 1.14 $
| $Date: 2008-07-04 20:59:37 $
| $Author: e107steved $
| $Revision: 1.15 $
| $Date: 2008-11-24 00:36:50 $
| $Author: mcfly_e107 $
+----------------------------------------------------------------------------+
*/
@@ -222,9 +222,9 @@ class e107_user_extended
// For use by plugins to add extended user fields and won't be visible anywhere else
function user_extended_add_system($name, $type, $default = '')
function user_extended_add_system($name, $type, $default = '', $source = '_system_')
{
return $this->user_extended_add($name, '_system_', $type, '', '', $default, 0, 255, 255, 255, 0, 0);
return $this->user_extended_add($name, '_system_', $type, $source, '', $default, 0, 255, 255, 255, 0, 0);
}