Zeile 6 | Zeile 6 |
---|
* Website: http://mybb.com * License: http://mybb.com/about/license *
|
* Website: http://mybb.com * License: http://mybb.com/about/license *
|
* $Id: event.php 5625 2011-10-02 19:16:35Z ralgith $
| * $Id: event.php 5730 2011-12-11 07:23:23Z ralgith $
|
*/
// Disallow direct access to this file for security reasons
| */
// Disallow direct access to this file for security reasons
|
Zeile 394 | Zeile 394 |
---|
$this->verify_repeats(); }
|
$this->verify_repeats(); }
|
$plugins->run_hooks_by_ref("datahandler_event_validate", $this);
| $plugins->run_hooks("datahandler_event_validate", $this);
|
// We are done validating, return. $this->set_validated(true);
| // We are done validating, return. $this->set_validated(true);
|
Zeile 467 | Zeile 467 |
---|
'repeats' => $db->escape_string(serialize($event['repeats'])) );
|
'repeats' => $db->escape_string(serialize($event['repeats'])) );
|
$plugins->run_hooks_by_ref("datahandler_event_insert", $this);
| $plugins->run_hooks("datahandler_event_insert", $this);
|
$this->eid = $db->insert_query("events", $this->event_insert_data);
| $this->eid = $db->insert_query("events", $this->event_insert_data);
|
Zeile 569 | Zeile 569 |
---|
$this->event_update_data['uid'] = intval($event['uid']); }
|
$this->event_update_data['uid'] = intval($event['uid']); }
|
$plugins->run_hooks_by_ref("datahandler_event_update", $this);
| $plugins->run_hooks("datahandler_event_update", $this);
|
$db->update_query("events", $this->event_update_data, "eid='".intval($event['eid'])."'");
| $db->update_query("events", $this->event_update_data, "eid='".intval($event['eid'])."'");
|