Browse Source

fixed a typo

pull/8/head
Ben Woodhead 13 years ago
parent
commit
e22cd00b17
  1. 10
      formClass.inc

10
formClass.inc

@ -17,10 +17,9 @@ class formClass {
drupal_bootstrap(DRUPAL_BOOTSTRAP_FULL); drupal_bootstrap(DRUPAL_BOOTSTRAP_FULL);
} }
/* /**
* create the paths for urls and map them to php functions * create the paths for urls and map them to php functions
*/ */
function createMenu() { function createMenu() {
$items = array(); $items = array();
@ -167,7 +166,6 @@ class formClass {
'type' => MENU_CALLBACK, 'type' => MENU_CALLBACK,
); );
/* Export functionality */ /* Export functionality */
$items['fedora/basket'] = array( $items['fedora/basket'] = array(
'title' => t('Fedora Basket'), 'title' => t('Fedora Basket'),
@ -453,7 +451,10 @@ class formClass {
/** /**
* queries the collection object for a childsecurity datastream and if found parses it * queries the collection object for a childsecurity datastream and if found parses it
* to determine if this user is allowed to ingest in this collection * to determine if this user is allowed to ingest in this collection
*/ we assume if they are able to modify objects in the collection they can ingest as well. * we assume if they are able to modify objects in the collection they can ingest as well.
* @param type $collection_pid
* @return type
*/
function can_ingest_here($collection_pid) { function can_ingest_here($collection_pid) {
module_load_include('inc', 'fedora_repository', 'SecurityClass'); module_load_include('inc', 'fedora_repository', 'SecurityClass');
$securityClass = new SecurityClass(); $securityClass = new SecurityClass();
@ -462,7 +463,6 @@ class formClass {
/** /**
* Drupal's permissions at this point no xacml yet. xacml decisions are made by fedora * Drupal's permissions at this point no xacml yet. xacml decisions are made by fedora
*
* @param type $collection_pid * @param type $collection_pid
* @return type * @return type
*/ */

Loading…
Cancel
Save