Skip to content

Commit

Permalink
#5617 Remove plugin directory support
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrew Nelless committed Sep 29, 2016
1 parent dc93b06 commit f7e588d
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 38 deletions.
20 changes: 0 additions & 20 deletions src/lib/arch/unix/ArchFileUnix.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -104,20 +104,6 @@ ArchFileUnix::getLogDirectory()
return "/var/log";
}

std::string
ArchFileUnix::getPluginDirectory()
{
if (!m_pluginDirectory.empty()) {
return m_pluginDirectory;
}

#if WINAPI_XWINDOWS
return getProfileDirectory().append("/plugins");
#else
return getProfileDirectory().append("/Plugins");
#endif
}

std::string
ArchFileUnix::getProfileDirectory()
{
Expand Down Expand Up @@ -155,9 +141,3 @@ ArchFileUnix::setProfileDirectory(const String& s)
{
m_profileDirectory = s;
}

void
ArchFileUnix::setPluginDirectory(const String& s)
{
m_pluginDirectory = s;
}
18 changes: 0 additions & 18 deletions src/lib/arch/win32/ArchFileWindows.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -139,18 +139,6 @@ ArchFileWindows::getLogDirectory()
return getInstalledDirectory();
}

std::string
ArchFileWindows::getPluginDirectory()
{
if (!m_pluginDirectory.empty()) {
return m_pluginDirectory;
}

std::string dir = getProfileDirectory();
dir.append("\\Plugins");
return dir;
}

std::string
ArchFileWindows::getProfileDirectory()
{
Expand Down Expand Up @@ -195,9 +183,3 @@ ArchFileWindows::setProfileDirectory(const String& s)
{
m_profileDirectory = s;
}

void
ArchFileWindows::setPluginDirectory(const String& s)
{
m_pluginDirectory = s;
}

0 comments on commit f7e588d

Please sign in to comment.