|
11 | 11 | #include "base/objectlock.hpp"
|
12 | 12 | #include "base/configtype.hpp"
|
13 | 13 | #include "base/application.hpp"
|
14 |
| -#include "base/dependencygraph.hpp" |
15 | 14 | #include "base/initialize.hpp"
|
16 | 15 | #include "base/namespace.hpp"
|
17 | 16 | #include "config/configitem.hpp"
|
@@ -49,7 +48,6 @@ REGISTER_SAFE_FUNCTION(System, basename, &Utility::BaseName, "path");
|
49 | 48 | REGISTER_SAFE_FUNCTION(System, dirname, &Utility::DirName, "path");
|
50 | 49 | REGISTER_SAFE_FUNCTION(System, getenv, &ScriptUtils::GetEnv, "value");
|
51 | 50 | REGISTER_SAFE_FUNCTION(System, msi_get_component_path, &ScriptUtils::MsiGetComponentPathShim, "component");
|
52 |
| -REGISTER_SAFE_FUNCTION(System, track_parents, &ScriptUtils::TrackParents, "child"); |
53 | 51 | REGISTER_SAFE_FUNCTION(System, escape_shell_cmd, &Utility::EscapeShellCmd, "cmd");
|
54 | 52 | REGISTER_SAFE_FUNCTION(System, escape_shell_arg, &Utility::EscapeShellArg, "arg");
|
55 | 53 | #ifdef _WIN32
|
@@ -518,11 +516,6 @@ String ScriptUtils::MsiGetComponentPathShim(const String& component)
|
518 | 516 | #endif /* _WIN32 */
|
519 | 517 | }
|
520 | 518 |
|
521 |
| -Array::Ptr ScriptUtils::TrackParents(const Object::Ptr& child) |
522 |
| -{ |
523 |
| - return Array::FromVector(DependencyGraph::GetChildren(dynamic_pointer_cast<ConfigObject>(child))); |
524 |
| -} |
525 |
| - |
526 | 519 | double ScriptUtils::Ptr(const Object::Ptr& object)
|
527 | 520 | {
|
528 | 521 | return reinterpret_cast<intptr_t>(object.get());
|
|
0 commit comments