Skip to content

Commit 4aaef00

Browse files
committed
Removed any traces of GetProjectExtraData operation.
It was used to calculate in viewProjectDetails to calculate the same data that can be retrieved by CustomProjectVO, it was redundant.
1 parent 1f86237 commit 4aaef00

File tree

2 files changed

+0
-125
lines changed

2 files changed

+0
-125
lines changed

model/facade/ProjectsFacade.php

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@
3636
include_once(PHPREPORT_ROOT . '/model/facade/action/GetUserProjectsAction.php');
3737
include_once(PHPREPORT_ROOT . '/model/facade/action/GetProjectUsersAction.php');
3838
include_once(PHPREPORT_ROOT . '/model/facade/action/GetProjectCustomersAction.php');
39-
include_once(PHPREPORT_ROOT . '/model/facade/action/GetProjectExtraDataAction.php');
4039
include_once(PHPREPORT_ROOT . '/model/facade/action/GetProjectAction.php');
4140
include_once(PHPREPORT_ROOT . '/model/facade/action/GetCustomProjectAction.php');
4241
include_once(PHPREPORT_ROOT . '/model/facade/action/AssignUserToProjectAction.php');
@@ -61,21 +60,6 @@
6160
*/
6261
abstract class ProjectsFacade {
6362

64-
/** Get Project Extra Data Function
65-
*
66-
* This function is used for retrieving extra data about a Project.
67-
*
68-
* @param int $id the database identifier of the Project whose extra data we want to retieve.
69-
* @return array an array with extra data as associative fields 'total' and 'currentInvoice'.
70-
*/
71-
static function GetProjectExtraData($projectId) {
72-
73-
$action = new GetProjectExtraDataAction($projectId);
74-
75-
return $action->execute();
76-
77-
}
78-
7963
/** Get Project Function
8064
*
8165
* This function is used for retrieving a Project.

model/facade/action/GetProjectExtraDataAction.php

Lines changed: 0 additions & 109 deletions
This file was deleted.

0 commit comments

Comments
 (0)