mirror of
https://port.numenaute.org/aleajactaest/khanat-code-old.git
synced 2024-11-18 05:11:41 +00:00
31 lines
No EOL
673 B
Text
31 lines
No EOL
673 B
Text
<?php
|
|
// $id$
|
|
|
|
/**
|
|
* @file
|
|
* Medals module install file.
|
|
*/
|
|
|
|
function ryzommanage_install() {
|
|
$vocab = array(
|
|
'name' => 'Ryzom Manager',
|
|
'machine_name' => 'ryzommanage',
|
|
'description' => 'Ryzom Login Service integration - inserts and updates users and manages accounts.',
|
|
'module' => 'ryzommanage',
|
|
);
|
|
$vocab = (object) $vocab;
|
|
db_query("CREATE TABLE ryzommanage_querycache (
|
|
`SID` INT NOT NULL AUTO_INCREMENT PRIMARY KEY ,
|
|
`type` VARCHAR( 64 ) NOT NULL ,
|
|
`query` VARCHAR( 512 ) NOT NULL
|
|
);");
|
|
|
|
}
|
|
|
|
function ryzommanage_uninstall() {
|
|
db_query("DROP TABLE ryzommanage_querycache;");
|
|
}
|
|
|
|
function _ryzommanage_vocab_fields() {
|
|
|
|
} |