| 838 | } |
| 839 | |
| 840 | BOOL PluginList::isInstallOrUpgrade(const tstring& name) |
| 841 | { |
| 842 | Plugin* plugin = _plugins[name]; |
| 843 | if (NULL == plugin) |
| 844 | { |
| 845 | plugin = _libraries[name]; |
| 846 | } |
| 847 | |
| 848 | if (!plugin || (plugin->isInstalled() && plugin->getVersion() <= plugin->getInstalledVersion())) |
| 849 | return FALSE; |
| 850 | else |
| 851 | return TRUE; |
| 852 | } |
| 853 | |
| 854 | |
| 855 |
nothing calls this directly
no test coverage detected