function get_request($uid)
{
- return parent::get_request($uid,'alias');
+ return parent::get_typed_request($uid,'alias');
}
// }}}
$this->alias, $this->old);
} else {
XDB::execute('INSERT INTO virtual SET alias={?},type="user"', $this->alias);
- $vid = mysql_insert_id();
+ $vid = XDB::insertId();
$dom = $this->shorter_domain();
return XDB::query('INSERT INTO virtual_redirect (vid,redirect) VALUES ({?}, {?})',
$vid, $this->forlife.'@'.$dom);