apps/encryption/lib/Migration.php
/**
	 * update file cache, copy unencrypted_size to the 'size' column
	 */
update file cache, copy unencrypted_size to the 'size' column
update file cache copy unencrypted_size to the ' size ' column
private function updateFileCache() {
		if ($this->installedVersion !== '-1') {
			$query = $this->connection->getQueryBuilder();
			$query->update('filecache')
				->set('size', 'unencrypted_size')
				->where($query->expr()->eq('encrypted', $query->createParameter('encrypted')))
				->setParameter('encrypted', 1);
			$query->execute();
		}
	}
private function updateFileCache ( ) { if ( $ this -> installedVersion !== '-1' ) { $ query = $ this -> connection -> getQueryBuilder ( ) ; $ query -> update ( 'filecache' ) -> set ( 'size' , 'unencrypted_size' ) -> where ( $ query -> expr ( ) -> eq ( 'encrypted' , $ query -> createParameter ( 'encrypted' ) ) ) -> setParameter ( 'encrypted' , 1 ) ; $ query -> execute ( ) ; } }
update file cache, copy unencrypted_size to the 'size' column
update file cache copy unencrypted_size to the ' size ' column
// make sure that we don't update the file cache multiple times // only update during the first run