Rename DBA::is_result to DBA::isResult
This commit is contained in:
		
					parent
					
						
							
								0ec44f3e8a
							
						
					
				
			
			
				commit
				
					
						ecea7425f8
					
				
			
		
					 152 changed files with 765 additions and 765 deletions
				
			
		| 
						 | 
				
			
			@ -26,7 +26,7 @@ function fsuggest_post(App $a)
 | 
			
		|||
		intval($contact_id),
 | 
			
		||||
		intval(local_user())
 | 
			
		||||
	);
 | 
			
		||||
	if (! DBA::is_result($r)) {
 | 
			
		||||
	if (! DBA::isResult($r)) {
 | 
			
		||||
		notice(L10n::t('Contact not found.') . EOL);
 | 
			
		||||
		return;
 | 
			
		||||
	}
 | 
			
		||||
| 
						 | 
				
			
			@ -43,7 +43,7 @@ function fsuggest_post(App $a)
 | 
			
		|||
			intval($new_contact),
 | 
			
		||||
			intval(local_user())
 | 
			
		||||
		);
 | 
			
		||||
		if (DBA::is_result($r)) {
 | 
			
		||||
		if (DBA::isResult($r)) {
 | 
			
		||||
			$x = q("INSERT INTO `fsuggest` ( `uid`,`cid`,`name`,`url`,`request`,`photo`,`note`,`created`)
 | 
			
		||||
				VALUES ( %d, %d, '%s','%s','%s','%s','%s','%s')",
 | 
			
		||||
				intval(local_user()),
 | 
			
		||||
| 
						 | 
				
			
			@ -59,7 +59,7 @@ function fsuggest_post(App $a)
 | 
			
		|||
				dbesc($hash),
 | 
			
		||||
				intval(local_user())
 | 
			
		||||
			);
 | 
			
		||||
			if (DBA::is_result($r)) {
 | 
			
		||||
			if (DBA::isResult($r)) {
 | 
			
		||||
				$fsuggest_id = $r[0]['id'];
 | 
			
		||||
				q("UPDATE `fsuggest` SET `note` = '%s' WHERE `id` = %d AND `uid` = %d",
 | 
			
		||||
					dbesc($note),
 | 
			
		||||
| 
						 | 
				
			
			@ -92,7 +92,7 @@ function fsuggest_content(App $a)
 | 
			
		|||
		intval($contact_id),
 | 
			
		||||
		intval(local_user())
 | 
			
		||||
	);
 | 
			
		||||
	if (! DBA::is_result($r)) {
 | 
			
		||||
	if (! DBA::isResult($r)) {
 | 
			
		||||
		notice(L10n::t('Contact not found.') . EOL);
 | 
			
		||||
		return;
 | 
			
		||||
	}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue