function filedepot_insert in filedepot 7
Same name and namespace in other branches
- 6 filedepot.module \filedepot_insert()
Implementation of hook_insert().
File
- ./
filedepot.module, line 1039 - filedepot.module Filedepot: File Management Module developed by Nextide www.nextide.ca Full featured document managment module with a desktop application feel. Integrated Organic Group, Role and User permissions to secure folders, automated…
Code
function filedepot_insert($node) {
$filedepot = filedepot_filedepot();
if ($filedepot
->createFolder($node)) {
return TRUE;
}
else {
drupal_set_message(t('Error creating folder'), 'error');
return FALSE;
}
}