stable

Clone or download

Read-only

Remove orphan widgets after plugin removal

This is a part of story #10173 Have multiple dashboards In a dashboard add a widget from a plugin (eg: project links). Uninstall the plugin. The widget is removed from the db, and the dashboard is in a clean state (eg: if it was the only widget, then the dashboard presents an empty state). Change-Id: I274bd0654b88548018c0a868b2fe58c5f0a4bfaf

Modified Files

Name
M plugins/IM/include/IMPlugin.class.php +33 −10 Go to diff View file
M plugins/admindelegation/include/admindelegationPlugin.class.php +12 −9 Go to diff View file
M plugins/docman/include/docmanPlugin.class.php +11 −0 Go to diff View file
M plugins/git/include/gitPlugin.class.php +5 −0 Go to diff View file
M plugins/graphontrackersv5/include/graphontrackersv5Plugin.class.php +7 −2 Go to diff View file
M plugins/hudson/include/hudsonPlugin.class.php +18 −0 Go to diff View file
M plugins/projectlinks/include/projectlinksPlugin.class.php +12 −7 Go to diff View file
M plugins/statistics/include/statisticsPlugin.class.php +6 −1 Go to diff View file
M plugins/tracker/include/trackerPlugin.class.php +9 −0 Go to diff View file
M src/common/Dashboard/Widget/DashboardWidgetDao.php +47 −8 Go to diff View file
M src/common/plugin/Plugin.class.php +37 −18 Go to diff View file
M src/common/plugin/PluginManager.class.php +2 −1 Go to diff View file