Beispiel #1
0
/**
 * Installs or upgrade the plugin on activation.
 * This is why it is important to de-activate the plugin before
 * upgrading it.
 * @uses EC_DB
 */
function EventsCalendarActivated()
{
    $db = new EC_DB();
    $db->createTable();
    $db->initOptions();
}