Skip to content
This repository has been archived by the owner on Sep 10, 2021. It is now read-only.

Commit

Permalink
Remove redundant closing tags
Browse files Browse the repository at this point in the history
  • Loading branch information
Jamie Snape committed Jun 11, 2014
1 parent 8ff3d80 commit 4a6b62c
Show file tree
Hide file tree
Showing 318 changed files with 14 additions and 406 deletions.
1 change: 0 additions & 1 deletion core/ApiController.php
Original file line number Diff line number Diff line change
Expand Up @@ -217,4 +217,3 @@ public function optionsAction()
}

} //end class
?>
1 change: 0 additions & 1 deletion core/Notification.php
Original file line number Diff line number Diff line change
Expand Up @@ -97,4 +97,3 @@ public function tokenAuth($params)
return $this->Component->Authentication->getUser(array('token' => $token), null);
}
} //end class
?>
1 change: 0 additions & 1 deletion core/constant/api.php
Original file line number Diff line number Diff line change
Expand Up @@ -49,4 +49,3 @@
MIDAS_API_PERMISSION_SCOPE_READ_GROUPS => 'List group membership for communities you own',
MIDAS_API_PERMISSION_SCOPE_MANAGE_GROUPS => 'Manage groups for communities you own'
));
?>
1 change: 0 additions & 1 deletion core/constant/apierror.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,3 @@
define('MIDAS_INVALID_PARAMETER', -150);
define('MIDAS_INVALID_POLICY', -151);
define('MIDAS_HTTP_ERROR', -153);
?>
1 change: 0 additions & 1 deletion core/constant/community.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,3 @@
define("MIDAS_COMMUNITY_PRIVATE", 1);
define("MIDAS_COMMUNITY_CAN_JOIN", 1);
define("MIDAS_COMMUNITY_INVITATION_ONLY", 0);
?>
2 changes: 0 additions & 2 deletions core/constant/datatype.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,5 +30,3 @@
define("MIDAS_MANY_TO_ONE", 1003);
define("MIDAS_ONE_TO_ONE", 1004);
define("MIDAS_MANY_TO_MANY", 1005);

?>
1 change: 0 additions & 1 deletion core/constant/error.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,3 @@
define("MIDAS_PRIORITY_INFO", 6);
define("MIDAS_PRIORITY_CRITICAL", 2);
define("MIDAS_PRIORITY_WARNING", 4);
?>
1 change: 0 additions & 1 deletion core/constant/feed.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,3 @@
define("MIDAS_FEED_CREATE_LINK_ITEM", 32);

define("MIDAS_FEED_CREATE_REVISION", 40);
?>
1 change: 0 additions & 1 deletion core/constant/folder.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,3 @@

define("MIDAS_FOLDER_USERPARENT", -1);
define("MIDAS_FOLDER_COMMUNITYPARENT", -2);
?>
1 change: 0 additions & 1 deletion core/constant/global.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,4 +44,3 @@
{
define('DATABASE_CONFIG', BASE_PATH . '/core/configs/database.ini');
}
?>
1 change: 0 additions & 1 deletion core/constant/group.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,3 @@

define("MIDAS_GROUP_ANONYMOUS_KEY", 0);
define("MIDAS_GROUP_SERVER_KEY", -1);
?>
2 changes: 0 additions & 2 deletions core/constant/item.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,3 @@
See the License for the specific language governing permissions and
limitations under the License.
=========================================================================*/

?>
1 change: 0 additions & 1 deletion core/constant/metadata.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,3 @@
define("MIDAS_METADATA_BOOLEAN", 4);
define("MIDAS_METADATA_LONG", 5);
define("MIDAS_METADATA_STRING", 6);
?>
2 changes: 0 additions & 2 deletions core/constant/notification.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,3 @@
define("MIDAS_EVENT_PRIORITY_NORMAL",1);
define("MIDAS_EVENT_PRIORITY_LOW",0);
define("MIDAS_EVENT_PRIORITY_HIGH",2);

?>
1 change: 0 additions & 1 deletion core/constant/policy.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,3 @@

define("MIDAS_PRIVACY_PUBLIC", 0);
define("MIDAS_PRIVACY_PRIVATE", 2);
?>
1 change: 0 additions & 1 deletion core/constant/resourcetype.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,3 @@
define("MIDAS_RESOURCE_FOLDER", 4);
define("MIDAS_RESOURCE_ASSETSTORE", 5);
define("MIDAS_RESOURCE_COMMUNITY", 6);
?>
1 change: 0 additions & 1 deletion core/constant/task.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,3 @@
=========================================================================*/

define("MIDAS_TASK_ITEM_THUMBNAIL", 0);
?>
1 change: 0 additions & 1 deletion core/constant/user.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,3 @@
define("MIDAS_USER_PUBLIC", 0);
define("MIDAS_USER_PRIVATE", 1);
define("MIDAS_MAXIMUM_FOLDER_NUMBERS_PER_LEVEL", 1000);
?>
1 change: 0 additions & 1 deletion core/controllers/components/ExportComponent.php
Original file line number Diff line number Diff line change
Expand Up @@ -191,4 +191,3 @@ function exportBitstreams($userDao, $targetDir, $itemIds, $shouldSymLink)
} // end function exportBitstreams

} // end class ExportComponent
?>
1 change: 0 additions & 1 deletion core/controllers/components/UploadComponent.php
Original file line number Diff line number Diff line change
Expand Up @@ -407,4 +407,3 @@ public function createNewRevision($userDao, $name, $path, $changes, $itemId, $it
return $item;
}//end
} // end class UploadComponent
?>
1 change: 0 additions & 1 deletion core/controllers/forms/ApikeyForm.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,3 @@ public function createKeyForm()
return $form;
}
} // end class
?>
1 change: 0 additions & 1 deletion core/controllers/forms/AssetstoreForm.php
Original file line number Diff line number Diff line change
Expand Up @@ -71,4 +71,3 @@ public function createAssetstoreForm()
return $form;
}
} // end class
?>
1 change: 0 additions & 1 deletion core/controllers/forms/CommunityForm.php
Original file line number Diff line number Diff line change
Expand Up @@ -132,4 +132,3 @@ public function createCreateGroupForm()
}

} // end class
?>
1 change: 0 additions & 1 deletion core/controllers/forms/FolderForm.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,4 +47,3 @@ public function createEditForm()
}

} // end class
?>
1 change: 0 additions & 1 deletion core/controllers/forms/ImportForm.php
Original file line number Diff line number Diff line change
Expand Up @@ -130,4 +130,3 @@ public function createImportForm($assetstores)
return $form;
}
} // end class
?>
1 change: 0 additions & 1 deletion core/controllers/forms/ItemForm.php
Original file line number Diff line number Diff line change
Expand Up @@ -62,4 +62,3 @@ public function createEditBitstreamForm()
}

} // end class
?>
1 change: 0 additions & 1 deletion core/controllers/forms/MigrateForm.php
Original file line number Diff line number Diff line change
Expand Up @@ -102,4 +102,3 @@ public function createMigrateForm($assetstores)
return $form;
}
} // end class
?>
1 change: 0 additions & 1 deletion core/database/upgrade/3.0.1.php
Original file line number Diff line number Diff line change
Expand Up @@ -62,4 +62,3 @@ public function postUpgrade()

}
}
?>
3 changes: 0 additions & 3 deletions core/database/upgrade/3.0.10.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,3 @@ public function postUpgrade()

}
}
?>


3 changes: 0 additions & 3 deletions core/database/upgrade/3.0.11.php
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,3 @@ public function postUpgrade()

}
}
?>


3 changes: 0 additions & 3 deletions core/database/upgrade/3.0.12.php
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,3 @@ public function postUpgrade()

}
}
?>


3 changes: 0 additions & 3 deletions core/database/upgrade/3.0.13.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,3 @@ public function postUpgrade()
{
}
}
?>


3 changes: 0 additions & 3 deletions core/database/upgrade/3.0.14.php
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,3 @@ public function postUpgrade()
{
}
}
?>


3 changes: 0 additions & 3 deletions core/database/upgrade/3.0.15.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,3 @@ public function postUpgrade()
$this->addTableField('user', 'biography', 'varchar(255)', ' character varying(255)', null);
}
}
?>


3 changes: 0 additions & 3 deletions core/database/upgrade/3.0.16.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,3 @@ public function postUpgrade()
$this->addTableField('folder', 'date_creation', 'timestamp', 'timestamp without time zone', false);
}
}
?>


1 change: 0 additions & 1 deletion core/database/upgrade/3.0.2.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,3 @@ public function postUpgrade()

}
}
?>
1 change: 0 additions & 1 deletion core/database/upgrade/3.0.3.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,3 @@ public function postUpgrade()

}
}
?>
1 change: 0 additions & 1 deletion core/database/upgrade/3.0.4.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,3 @@ public function postUpgrade()

}
}
?>
1 change: 0 additions & 1 deletion core/database/upgrade/3.0.5.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,4 +50,3 @@ public function postUpgrade()

}
}
?>
2 changes: 0 additions & 2 deletions core/database/upgrade/3.0.6.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,5 +47,3 @@ public function postUpgrade()

}
}
?>

3 changes: 0 additions & 3 deletions core/database/upgrade/3.0.7.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,3 @@ public function postUpgrade()

}
}
?>


3 changes: 0 additions & 3 deletions core/database/upgrade/3.0.8.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,3 @@ public function postUpgrade()

}
}
?>


3 changes: 0 additions & 3 deletions core/database/upgrade/3.0.9.php
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,3 @@ public function postUpgrade()

}
}
?>


3 changes: 0 additions & 3 deletions core/database/upgrade/3.1.0.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,3 @@ public function postUpgrade()
{
}
}
?>


3 changes: 0 additions & 3 deletions core/database/upgrade/3.1.1.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,3 @@ public function postUpgrade()
{
}
}
?>


3 changes: 0 additions & 3 deletions core/database/upgrade/3.1.2.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,3 @@ public function postUpgrade()
$this->addTableField('user', 'dynamichelp', 'tinyint(4)', ' integer', 1);
}
}
?>


1 change: 0 additions & 1 deletion core/database/upgrade/3.1.3.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,3 @@ public function postUpgrade()
{
}
}
?>
1 change: 0 additions & 1 deletion core/database/upgrade/3.1.4.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,3 @@ public function postUpgrade()
{
}
}
?>
1 change: 0 additions & 1 deletion core/database/upgrade/3.2.0.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,3 @@ public function postUpgrade()
{
}
}
?>
1 change: 0 additions & 1 deletion core/database/upgrade/3.2.1.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,3 @@ public function postUpgrade()
$settingModel->setConfig('adminuser', $id);
}
}
?>
1 change: 0 additions & 1 deletion core/database/upgrade/3.2.10.php
Original file line number Diff line number Diff line change
Expand Up @@ -63,4 +63,3 @@ public function postUpgrade()
}

}
?>
1 change: 0 additions & 1 deletion core/database/upgrade/3.2.11.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,3 @@ public function postUpgrade()
}

}
?>
1 change: 0 additions & 1 deletion core/database/upgrade/3.2.12.php
Original file line number Diff line number Diff line change
Expand Up @@ -77,4 +77,3 @@ private function _movePasswords()

}
}
?>
1 change: 0 additions & 1 deletion core/database/upgrade/3.2.13.php
Original file line number Diff line number Diff line change
Expand Up @@ -82,4 +82,3 @@ public function postUpgrade()
}

}
?>
1 change: 0 additions & 1 deletion core/database/upgrade/3.2.14.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,3 @@ public function postUpgrade()
{
}
}
?>
1 change: 0 additions & 1 deletion core/database/upgrade/3.2.2.php
Original file line number Diff line number Diff line change
Expand Up @@ -189,4 +189,3 @@ public function postUpgrade()
{
}
}
?>
1 change: 0 additions & 1 deletion core/database/upgrade/3.2.3.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,3 @@ public function postUpgrade()
{
}
}
?>
1 change: 0 additions & 1 deletion core/database/upgrade/3.2.4.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,4 +37,3 @@ public function postUpgrade()
{
}
}
?>
1 change: 0 additions & 1 deletion core/database/upgrade/3.2.5.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,3 @@ public function postUpgrade()
{
}
}
?>
1 change: 0 additions & 1 deletion core/database/upgrade/3.2.6.php
Original file line number Diff line number Diff line change
Expand Up @@ -78,4 +78,3 @@ private function _moveThumbnailToAssetstore($thumbnail)


}
?>
1 change: 0 additions & 1 deletion core/database/upgrade/3.2.7.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,3 @@ public function postUpgrade()
}

}
?>
1 change: 0 additions & 1 deletion core/database/upgrade/3.2.8.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,3 @@ public function postUpgrade()
}

}
?>
1 change: 0 additions & 1 deletion core/database/upgrade/3.2.9.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,3 @@ public function postUpgrade()
}

}
?>
3 changes: 0 additions & 3 deletions core/include.php
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,3 @@
include_once BASE_PATH.'/core/constant/resourcetype.php';
include_once BASE_PATH.'/core/constant/task.php';
include_once BASE_PATH.'/core/constant/api.php';


?>
2 changes: 0 additions & 2 deletions core/models/AppDao.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,3 @@ class AppDao extends MIDAS_GlobalDao
{

} //end class

?>
1 change: 0 additions & 1 deletion core/models/AppModel.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,3 @@
class AppModel extends MIDASModel
{
}
?>
1 change: 0 additions & 1 deletion core/models/GlobalDao.php
Original file line number Diff line number Diff line change
Expand Up @@ -279,4 +279,3 @@ private function _getRealName($var)
}

}// end class
?>
1 change: 0 additions & 1 deletion core/models/MIDASDatabaseMongo.php
Original file line number Diff line number Diff line change
Expand Up @@ -339,4 +339,3 @@ function multigetMongo($columnfamily, $keys, $columns = null, $column_start = ""
} // end getMongo()

} // end class MIDASDatabaseMongo
?>
1 change: 0 additions & 1 deletion core/models/MIDASDatabasePdo.php
Original file line number Diff line number Diff line change
Expand Up @@ -404,4 +404,3 @@ public function getCountAll()
}//end getCountAll

} //end class MIDASDatabasePdo
?>
1 change: 0 additions & 1 deletion core/models/MIDASModuleInstallScript.php
Original file line number Diff line number Diff line change
Expand Up @@ -52,4 +52,3 @@ public function postInstall()
}

} //end class MIDASModuleInstallScript
?>
Loading

0 comments on commit 4a6b62c

Please sign in to comment.