Replace dba::select(limit => 1) by dba::selectOne
- Convert array declarations to new style
This commit is contained in:
		
					parent
					
						
							
								a2d3cee006
							
						
					
				
			
			
				commit
				
					
						da60893590
					
				
			
		
					 51 changed files with 206 additions and 219 deletions
				
			
		| 
						 | 
				
			
			@ -109,7 +109,7 @@ class Cache
 | 
			
		|||
		// Frequently clear cache
 | 
			
		||||
		self::clear();
 | 
			
		||||
 | 
			
		||||
		$r = dba::select('cache', array('v'), array('k' => $key), array('limit' => 1));
 | 
			
		||||
		$r = dba::selectOne('cache', ['v'], ['k' => $key]);
 | 
			
		||||
 | 
			
		||||
		if (DBM::is_result($r)) {
 | 
			
		||||
			$cached = $r['v'];
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue