public function commit ()
{
- require_once 'notifs.inc.php';
- register_watch_op($this->user->id(), WATCH_FICHE, '', 'medals');
return XDB::execute('REPLACE INTO profile_medals
VALUES ({?}, {?}, {?})',
$this->user->profile()->id(), $this->mid,
public function commit()
{
- require_once 'notifs.inc.php';
require_once 'name.func.inc.php';
- register_watch_op($this->user->id(), WATCH_FICHE, '', 'search_names');
set_profile_display($this->display_names);
set_alias_names($this->sn_new, $this->sn_old, true, $this->new_alias);
public function commit()
{
- //require_once 'notifs.inc.php';
XDB::execute('REPLACE INTO profile_photos (pid, attachmime, attach, x, y)
VALUES ({?},{?},{?},{?},{?})',
$this->user->profile()->id(), $this->mimetype, $this->data, $this->x, $this->y);
- //register_watch_op($this->user->id(), WATCH_FICHE, '', 'photo');
+
return true;
}