Proyectos de Subversion LeadersLinked - Services

Rev

Rev 1 | Ir a la última revisión | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 1 Rev 383
Línea 203... Línea 203...
203
        $update->where->equalTo('id', $userProfile->id);
203
        $update->where->equalTo('id', $userProfile->id);
Línea 204... Línea 204...
204
        
204
        
Línea 205... Línea 205...
205
        return $this->executeUpdate($update);
205
        return $this->executeUpdate($update);
-
 
206
        
-
 
207
    }
-
 
208
 
-
 
209
 
-
 
210
    /**
-
 
211
     *
-
 
212
     * @param UserProfile $userProfile
-
 
213
     * @return boolean
-
 
214
     */
-
 
215
    public function updateTimeZone($userProfile)
-
 
216
    {
-
 
217
        $values = [
-
 
218
            'timezone' => $userProfile->timezone,
-
 
219
        ];
-
 
220
        
-
 
221
        $update = $this->sql->update(self::_TABLE);
-
 
222
        $update->set($values);
-
 
223
        $update->where->equalTo('id', $userProfile->id);
-
 
224
        
-
 
225
        return $this->executeUpdate($update);
Línea 206... Línea 226...
206
        
226
        
207
    }
227
    }
208
    
228
    
209
    /**
229
    /**