diff options
author | brettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-02-18 22:54:03 +0000 |
---|---|---|
committer | brettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-02-18 22:54:03 +0000 |
commit | 8f5c54b7acfd027bf1f95b70931a3f6ef61c8eb6 (patch) | |
tree | 99cc2d3ce05d93bd189b972752305f705a2ec975 /js | |
parent | 3ae21bb4b8bb1ea13a06e244e2079ceb75431290 (diff) | |
download | elgg-8f5c54b7acfd027bf1f95b70931a3f6ef61c8eb6.tar.gz elgg-8f5c54b7acfd027bf1f95b70931a3f6ef61c8eb6.tar.bz2 |
Added stub for page owners in elgg.js
git-svn-id: http://code.elgg.org/elgg/trunk@8299 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'js')
-rw-r--r-- | js/lib/pageowner.js | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/js/lib/pageowner.js b/js/lib/pageowner.js new file mode 100644 index 000000000..825898416 --- /dev/null +++ b/js/lib/pageowner.js @@ -0,0 +1,14 @@ +/** + * Provides page owner and context functions + * + * @todo This is a stub. Page owners can't be fully implemented until + * the 4 types are finished. + */ + +/** + * @return {number} The GUID of the logged in user + */ +elgg.get_page_owner_guid = function() { + return elgg.page_owner.guid || 0; +}; + |