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

Commit b8570e2

Browse files
author
Jamie Snape
committed
Miscellaneous PHP formatting tweaks
1 parent f48f6a6 commit b8570e2

File tree

297 files changed

+241
-702
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

297 files changed

+241
-702
lines changed

core/ApiController.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,5 +215,4 @@ public function optionsAction()
215215
{
216216
$this->_response->setHeader('Allow', 'OPTIONS');
217217
}
218-
219218
} // end class

core/AppComponent.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,4 @@
2424
*/
2525
class AppComponent extends MIDAS_GlobalComponent
2626
{
27-
28-
2927
}

core/AppForm.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,8 @@ public function __construct()
2828
$this->webroot = $fc->getBaseUrl();
2929
}//end construct
3030

31-
3231
/** translation */
33-
protected function t($text)
32+
protected function t($text)
3433
{
3534
Zend_Loader::loadClass("InternationalizationComponent", BASE_PATH.'/core/controllers/components');
3635
return InternationalizationComponent::translate($text);

core/Bootstrap.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@ protected function _initDoctype()
3535
$view->doctype('XHTML1_STRICT');
3636
}//end _initDoctype
3737

38-
3938
/**
4039
* \fn protected _initConfig()
4140
* \brief set the configuration and save it in the registry

core/constant/notification.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,6 @@
1818
limitations under the License.
1919
=========================================================================*/
2020

21-
define("MIDAS_EVENT_PRIORITY_NORMAL",1);
22-
define("MIDAS_EVENT_PRIORITY_LOW",0);
23-
define("MIDAS_EVENT_PRIORITY_HIGH",2);
21+
define("MIDAS_EVENT_PRIORITY_NORMAL", 1);
22+
define("MIDAS_EVENT_PRIORITY_LOW", 0);
23+
define("MIDAS_EVENT_PRIORITY_HIGH", 2);

core/controllers/AdminController.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -397,8 +397,6 @@ function showlogAction()
397397
$offset = 0;
398398
}
399399

400-
401-
402400
$results = $this->Errorlog->getLog($start, $end, $module, $priority, $limit, $offset, $priorityOperator);
403401
$this->view->jsonContent = array();
404402
$this->view->jsonContent['currentFilter'] = array('start' => $start,
@@ -646,7 +644,6 @@ function serversidefilechooserAction()
646644
// No views
647645
} // end function serversidefilechooserAction
648646

649-
650647
/**
651648
* \fn
652649
* \brief

core/controllers/ApidocsController.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@ public function init()
3232
$this->disableView();
3333
}
3434

35-
3635
/** Index resource */
3736
function indexAction()
3837
{

core/controllers/AssetstoreController.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,10 +44,8 @@ function init()
4444
*/
4545
function indexAction()
4646
{
47-
4847
}// end indexAction
4948

50-
5149
/** change default assetstore*/
5250
function defaultassetstoreAction()
5351
{
@@ -69,7 +67,6 @@ function defaultassetstoreAction()
6967
echo JsonComponent::encode(array(false, $this->t('Error')));
7068
}//defaultassetstoreAction
7169

72-
7370
/** delete an assetstore */
7471
function deleteAction()
7572
{

core/controllers/BrowseController.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,6 @@ public function selectfolderAction()
285285

286286
$communities = $this->User->getUserCommunities($this->userSession->Dao);
287287

288-
289288
if(isset($policy) && $policy == 'read')
290289
{
291290
$policy = MIDAS_POLICY_READ;

core/controllers/CommunityController.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,6 @@ function manageAction()
253253
$this->view->customTabs = Zend_Registry::get('notifier')->callback('CALLBACK_CORE_GET_COMMUNITY_MANAGE_TABS', array('community' => $communityDao));
254254
}//end manageAction
255255

256-
257256
/** Index */
258257
function indexAction()
259258
{

0 commit comments

Comments
 (0)