Skip to content

Instantly share code, notes, and snippets.

View Gang-Peng's full-sized avatar

Gang Peng Gang-Peng

  • Aurora
  • Seattle, WA
View GitHub Profile
@Gang-Peng
Gang-Peng / gist:71f34b1f6b642555a7bd
Created December 26, 2014 06:13
code example of adding new function into elgg REST API interfaces in 1.8.19 version of elgg
diff --git a/elgg-1.8.19/engine/lib/web_services.php b/elgg-1.8.19/engine/lib/web_services.php
index 51cad6f..d66e16a 100644
--- a/elgg-1.8.19/engine/lib/web_services.php
+++ b/elgg-1.8.19/engine/lib/web_services.php
@@ -1448,7 +1448,22 @@ function api_init() {
false,
false
);
// test