@@ -232,11 +232,6 @@ function unl_node_presave($node) {
*/
functionunl_permission(){
returnarray(
'unl migration'=>array(
'title'=>t('Migration'),
'description'=>t('Migrate UNL Template based sites to drupal'),
),
'unl grant all permissions'=>array(
'title'=>t('Grant All Permissions'),
'description'=>t('If this is not checked, a user can only grant permissions that they themselves have. Requires the "Administer permissions" permission.'),
...
...
@@ -315,17 +310,6 @@ function unl_menu() {
'file'=>'technical_feedback.php',
);
// Adds UNL Migration Tool to the Content menu for admin
$items['admin/content/unl/migration']=array(
'title'=>'UNL Migration Tool',
'description'=>'Migrate a static UNL template page into Drupal.',
'access arguments'=>array('unl migration'),
'page callback'=>'drupal_get_form',
'page arguments'=>array('unl_migration'),
'type'=>MENU_LOCAL_TASK,
'file'=>'unl_migration.php',
);
$items['admin/content/unl/reset']=array(
'title'=>'Reset Site',
'description'=>'Remove all nodes, menu items, etc from this site.',
...
...
@@ -815,34 +799,6 @@ function unl_user_admin_role_validate($form, &$form_state) {
}
}
/**
* Implementation of hook_cron().
*/
functionunl_cron(){
_unl_cron_migration_step();
}
/**
* If a site is being migrated via cron jobs, do some work towards that migration.
*/
function_unl_cron_migration_step(){
// We don't want this running as system user, only the web user.