forked from GNUsocial/gnu-social
		
	Fix syntax errors
This commit is contained in:
		@@ -157,7 +157,7 @@ class ApiDirectMessageNewAction extends ApiAuthAction
 | 
				
			|||||||
            // Note: sending msgs to yourself is allowed by Twitter
 | 
					            // Note: sending msgs to yourself is allowed by Twitter
 | 
				
			||||||
 | 
					
 | 
				
			||||||
            $errmsg = 'Don\'t send a message to yourself; ' .
 | 
					            $errmsg = 'Don\'t send a message to yourself; ' .
 | 
				
			||||||
                   'just say it to yourself quietly instead.'
 | 
					                   'just say it to yourself quietly instead.';
 | 
				
			||||||
 | 
					
 | 
				
			||||||
            $this->clientError(_($errmsg), 403, $this->format);
 | 
					            $this->clientError(_($errmsg), 403, $this->format);
 | 
				
			||||||
            return;
 | 
					            return;
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -127,7 +127,7 @@ class ApiFavoriteCreateAction extends ApiAuthAction
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
        if (empty($fave)) {
 | 
					        if (empty($fave)) {
 | 
				
			||||||
            $this->clientError(
 | 
					            $this->clientError(
 | 
				
			||||||
                _('Could not create favorite.')
 | 
					                _('Could not create favorite.'),
 | 
				
			||||||
                403,
 | 
					                403,
 | 
				
			||||||
                $this->format
 | 
					                $this->format
 | 
				
			||||||
            );
 | 
					            );
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user