- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
- 12
- 13
/**
* Get the river's access where clause
*
* @return string
* @since 1.8.0
* @access private
*/
function elgg_river_get_access_sql() {
// rewrite default access where clause to work with river table
return str_replace("and enabled='yes'", '',
str_replace('owner_guid', 'rv.subject_guid',
str_replace('access_id', 'rv.access_id', get_access_sql_suffix())));
}
Lure Of Chaos 15.05.2012 23:53 # 0
pavel 16.05.2012 00:17 # 0
kipar 16.05.2012 10:54 # 0
выглядит ненадежно.
psycho-coder 16.05.2012 12:48 # 0