]> gitweb.fluxo.info Git - lorea/elgg.git/commitdiff
Fixes #4806 make the create_<subtype>_entity() functions private
authorcash <cash.costello@gmail.com>
Sat, 8 Dec 2012 16:37:03 +0000 (11:37 -0500)
committercash <cash.costello@gmail.com>
Sat, 8 Dec 2012 16:37:03 +0000 (11:37 -0500)
engine/lib/group.php
engine/lib/objects.php
engine/lib/sites.php
engine/lib/users.php

index feb1f1e7fb3af396dfbb81a021d3203f2b8c3031..852c08de9b1d82cb91312c9cc6d3e8595d66b9c8 100644 (file)
@@ -33,6 +33,7 @@ function get_group_entity_as_row($guid) {
  * @param string $description Description
  *
  * @return bool
+ * @access private
  */
 function create_group_entity($guid, $name, $description) {
        global $CONFIG;
index f186c66cb1105073d2215af240264d0bbac15b13..e5e8f67c45df2eec285f8b7fd1f4e63b0bdebddf 100644 (file)
@@ -31,6 +31,7 @@ function get_object_entity_as_row($guid) {
  * @param string $description The object's description
  *
  * @return bool
+ * @access private
  */
 function create_object_entity($guid, $title, $description) {
        global $CONFIG;
index 8b772668d8132466751199c2af63f7b0999d9979..d9eb2d25e38707309f5806f4b600436ef11a0911 100644 (file)
@@ -58,6 +58,7 @@ function get_site_entity_as_row($guid) {
  * @param string $url         URL of the site
  *
  * @return bool
+ * @access private
  */
 function create_site_entity($guid, $name, $description, $url) {
        global $CONFIG;
index 527eff3cdbb43c4402ca51861a545849f8441665..95ef9d1762705841de587f1f45a9ce9bd7061350 100644 (file)
@@ -44,6 +44,7 @@ function get_user_entity_as_row($guid) {
  * @param string $code     A code
  *
  * @return bool
+ * @access private
  */
 function create_user_entity($guid, $name, $username, $password, $salt, $email, $language, $code) {
        global $CONFIG;