mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-03-21 20:02:03 +01:00
remove unused code
This commit is contained in:
@@ -245,15 +245,6 @@ var fs = require('fs'),
|
||||
});
|
||||
};
|
||||
|
||||
function getLatestVersion(versions) {
|
||||
for(var version in versions) {
|
||||
if (versions.hasOwnProperty(version) && versions[version] === 'latest') {
|
||||
return version;
|
||||
}
|
||||
}
|
||||
return '';
|
||||
}
|
||||
|
||||
Plugins.showInstalled = function(callback) {
|
||||
var npmPluginPath = path.join(__dirname, '../node_modules');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user