stable

Clone or download

Read-only

Introduce database compatibility interfaces

This contribution does not introduce a functional change, it is a technical step to be able to add a switch between the existing legacy database access abstractions based on the mysql API and one based on PDO. This is part of story #11146: Provide PDO by default for all Tuleap DB query Change-Id: I40c5c989d34fe8a248705a95c3f1feb8ba28b8e0

Modified Files

Name
M plugins/admindelegation/include/AdminDelegation_UserServiceDao.class.php +7 −12 Go to diff View file
M plugins/admindelegation/include/AdminDelegation_UserServiceLogDao.class.php +7 −13 Go to diff View file
M plugins/agiledashboard/include/AgileDashboard/Kanban/TrackerReport/TrackerReportDao.php +4 −4 Go to diff View file
M plugins/agiledashboard/include/AgileDashboard/Milestone/Backlog/DescendantItemsFinder.class.php +4 −2 Go to diff View file
M plugins/agiledashboard/include/AgileDashboard/Milestone/MilestoneStatusCounter.class.php +4 −2 Go to diff View file
M plugins/agiledashboard/include/AgileDashboard/MonoMilestone/MonoMilestoneItemsFinder.php +2 −2 Go to diff View file
M plugins/agiledashboard/include/AgileDashboard/Semantic/Dao/SemanticDoneDao.php +4 −4 Go to diff View file
M plugins/agiledashboard/include/PermissionsPerGroup/PlanningPermissionsRepresentationBuilder.php +2 −2 Go to diff View file
M plugins/agiledashboard/include/Planning/MilestoneFactory.class.php +2 −1 Go to diff View file
M plugins/bugzilla_reference/include/Bugzilla/Reference/Dao.php +3 −3 Go to diff View file
M plugins/docman/include/Docman_LockDao.class.php +7 −12 Go to diff View file
M plugins/forumml/www/forumml_utils.php +2 −2 Go to diff View file
M plugins/ldap/include/LDAP_DirectoryCleanUpDao.class.php +3 −6 Go to diff View file
M plugins/ldap/include/LDAP_ProjectDao.class.php +5 −19 Go to diff View file
M plugins/ldap/include/LDAP_ProjectGroupDao.class.php +3 −9 Go to diff View file
M plugins/ldap/include/LDAP_UserGroupDao.class.php +5 −18 Go to diff View file
M plugins/mediawiki/include/MediawikiGroups.class.php +4 −2 Go to diff View file
M plugins/mediawiki/include/Migration/MoveToCentralDbDao.php +2 −3 Go to diff View file
M plugins/mediawiki/www/setpath.php +32 −4 Go to diff View file
M plugins/projectlinks/include/ProjectLinksDao.class.php +7 −9 Go to diff View file
M plugins/projectlinks/include/ProjectLinks_Widget_HomePageLinks.class.php +7 −6 Go to diff View file
M plugins/statistics/include/Statistics_ScmCvsDao.class.php +6 −3 Go to diff View file
M plugins/statistics/include/Statistics_ScmSvnDao.class.php +4 −3 Go to diff View file
M plugins/statistics/include/Statistics_ServicesUsageDao.class.php +5 −3 Go to diff View file
M plugins/svn/include/Svn/Repository/RepositoryRegexpBuilder.php +3 −2 Go to diff View file
M plugins/tracker/include/Tracker/Artifact/Attachment/PaginatedTemporaryFiles.php +4 −4 Go to diff View file
M plugins/tracker/include/Tracker/FormElement/Tracker_FormElementFactory.class.php +4 −2 Go to diff View file
M plugins/tracker/include/Tracker/dao/ConfigNotificationAssignedToDao.php +4 −2 Go to diff View file
A src/common/DB/Compat/Legacy2018/LegacyDataAccessInterface.php +211 −0 Go to diff View file
A src/common/DB/Compat/Legacy2018/LegacyDataAccessResultInterface.php +124 −0 Go to diff View file
M src/common/Dashboard/Widget/DashboardWidgetDao.php +3 −3 Go to diff View file
M src/common/Label/PaginatedCollectionsOfLabelsBuilder.php +3 −3 Go to diff View file
M src/common/autoload.php +4 −2 Go to diff View file
M src/common/dao/CodendiDataAccess.class.php +17 −14 Go to diff View file
M src/common/dao/ProjectHistoryDao.class.php +2 −3 Go to diff View file
M src/common/dao/include/DataAccess.class.php +5 −4 Go to diff View file
M src/common/dao/include/DataAccessObject.class.php +12 −13 Go to diff View file
M src/common/dao/include/DataAccessResult.class.php +4 −3 Go to diff View file
M src/common/docmanv1/XMLExportData.class.php +4 −2 Go to diff View file
M src/common/frs/FRSPackageFactory.class.php +2 −1 Go to diff View file
M src/common/frs/FRSReleaseFactory.class.php +2 −1 Go to diff View file
M src/common/project/Admin/DescriptionFields/DescriptionFieldAdminPresenterBuilder.php +3 −3 Go to diff View file
M src/common/project/Admin/ProjectListResultsPresenterBuilder.php +3 −3 Go to diff View file
M src/common/project/OneStepCreation/OneStepCreationPresenter.class.php +4 −2 Go to diff View file
M src/common/project/ProjectManager.class.php +2 −1 Go to diff View file
M src/common/search/SearchForum.class.php +5 −3 Go to diff View file
M src/common/search/SearchProject.class.php +5 −3 Go to diff View file
M src/common/trove/TroveCatLinkDao.php +3 −3 Go to diff View file
M src/common/user/Users.class.php +5 −3 Go to diff View file