og_files does not cares about group directory in hook_nodeapi

develCuy - November 28, 2008 - 01:13
Project:OG Files
Version:5.x-1.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:develCuy
Status:needs review
Description

If for some reason(wrong permissions, accidental deletion, etc) a directory related to group was not created, og_files does not makes a check (file_exists).

#1

develCuy - November 28, 2008 - 01:34

This patch does a file_exists to group directory and creates it if does not exists, also does a notice(drupal_set_message()) about mentioned action.

AttachmentSize
og_files_check_og_directory.patch 1.28 KB

#2

develCuy - November 28, 2008 - 02:03
Status:active» needs review
 
 

Drupal is a registered trademark of Dries Buytaert.